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

RegionMover should exclude draining/decommissioning nodes from target RSs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.1.10, 2.2.6
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When using RegionMover tool to unload the regions from a given RS, it decides the list of destination RSs by

      List<ServerName> regionServers = new ArrayList<>();
              regionServers.addAll(admin.getRegionServers());
              // Remove the host Region server from target Region Servers list
              ServerName server = stripServer(regionServers, hostname, port);
              .....
              // Remove RS present in the exclude file
              stripExcludes(regionServers);
              stripMaster(regionServers);
      

      Ya it is removing the RSs mentioned in the exclude file.
      Better when the RegionMover user is NOT mentioning any exclude list, we can exclude the draining/decommissioning RSs
      Admin#listDecommissionedRegionServers()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vjasani Viraj Jasani
                Reporter:
                anoop.hbase Anoop Sam John
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: