You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "liang.feng (JIRA)" <ji...@apache.org> on 2019/07/04 10:31:00 UTC

[jira] [Issue Comment Deleted] (HBASE-22658) region_mover.rb should choose same rsgroup servers as target servers

     [ https://issues.apache.org/jira/browse/HBASE-22658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liang.feng updated HBASE-22658:
-------------------------------
    Comment: was deleted

(was: This is my first submit patch. Should I checkout source code to branch-1 then change the code as my implement, and generate patch? Or Should I rename patch file?)

> region_mover.rb  should choose same rsgroup servers as target servers 
> ----------------------------------------------------------------------
>
>                 Key: HBASE-22658
>                 URL: https://issues.apache.org/jira/browse/HBASE-22658
>             Project: HBase
>          Issue Type: Improvement
>          Components: rsgroup, shell
>            Reporter: liang.feng
>            Priority: Critical
>              Labels: gracefulshutdown, region_mover, rsgroup
>         Attachments: HBASE-22658-for-hbase1.x-branch-1.4.patch
>
>
> There are many retries when i am using graceful_stop.sh to shutdown region server after using regroup, because the target server in a different rsgroup. This makes it slow to graceful shutdown a regionserver. So i think that region_mover.rb  should only choose same rsgroup servers as target servers.
> Region mover is implemented by jruby in hbase1.x and is  implemented by java in hbase2.x . I tried to modify the RegionMover.java class to use the same logic in hbase2.x, but mvn package failed due to hbase-server module and hbase-rsgroup moudle eeded to depend on each other, then maven throw a "The projects in the reactor contain a cyclic reference". I couldn't solve it.So I just uploaded patch for hbase1.x .
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)