Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
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
- links to