Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22658

region_mover.rb should choose same rsgroup servers as target servers

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      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 needed 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 .

       

        Attachments

        1. with_patch.png
          393 kB
          Reid Chan
        2. without_patch.png
          66 kB
          Reid Chan
        3. HBASE-22658.branch-1.patch
          3 kB
          liang.feng
        4. HBASE-22658.branch-1.002.patch
          3 kB
          Reid Chan

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a516072575 liang.feng
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: