You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Aman Poonia (JIRA)" <ji...@apache.org> on 2016/12/13 15:37:59 UTC

[jira] [Created] (HBASE-17304) Avoid draining region servers in draining mode while moving the regions at client side i.e. in region_mover.rb

Aman Poonia created HBASE-17304:
-----------------------------------

             Summary: Avoid draining region servers in draining mode while moving the regions at client side i.e. in region_mover.rb
                 Key: HBASE-17304
                 URL: https://issues.apache.org/jira/browse/HBASE-17304
             Project: HBase
          Issue Type: Improvement
          Components: Client
            Reporter: Aman Poonia


While using region_mover.rb  in our testing we faced an issue where region_mover was taking a lot of time to unload regions.

For instance we take 10 region server and create draining znode for 8. So while moving the regions region_mover.rb doesn't take draining znode in consideration and it tries to move the region in all the region server which are available so it fails at the server side and then it sleeps for some second and retries 5 time for each region and iterates over all the region servers. This makes this process really slow in extreme cases as mentioned above where a lot of nodes in a cluster are in draining mode. 

We need to get the list of draining region servers so that we can avoid them while moving region.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)