Member since
11-01-2018
4
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2545 | 11-13-2018 02:27 PM |
11-13-2018
02:27 PM
In the end it was a lot easier. I am monitoring the existence of the original regions right after the merge_region command. When both regions are gone, this can be considered as a sign that the merge is complete. Of course the regions can disappear due to another reason (maybe an automatic split) but for the specific task it covers my needs.
... View more
11-02-2018
02:44 PM
Thanks Josh! I will give it a try in the next couple of days (need to build a test environment first) and return with results.
... View more
11-02-2018
02:19 PM
Thank you Josh! Exactly, merging is asynchronous indeed, thus the need to monitor when it's completed, so that I know when Ican submit the next merge request without overloading the system. I saw there is the command list_procedures. Do you think this can be used to monitor any non-completed merge processes? If not, is there an easy way to parse the hbase:meta through shell to obtain the required info? What should I look for? If I am getting it right, I should see all three regions while merge is active (one new + two old) and just the new one when it will have completed. So, when the two old regions are no longer present, merge can be considered completed. Does that sounds correct? Of course, I would prefer to just use a simpler command, like list_processes, if it is applicable. Regards
... View more
11-02-2018
03:39 AM
Hello, I need to watch the progress of a region merge task in HBase 1.2 . I need it to use it on a script, so I would prefer a solution that works best through linux shell and not Web UI. Regards
... View more
Labels:
- Labels:
-
Apache HBase