mihir6692 commented on code in PR #5470:
URL: https://github.com/apache/hbase/pull/5470#discussion_r1367582064


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/util/RegionMover.java:
##########
@@ -771,9 +879,17 @@ private ServerName stripServer(List<ServerName> 
regionServers, String hostname,
   @Override
   protected void addOptions() {
     this.addRequiredOptWithArg("r", "regionserverhost", "region server 
<hostname>|<hostname:port>");
-    this.addRequiredOptWithArg("o", "operation", "Expected: 
load/unload/unload_from_rack");
+    this.addRequiredOptWithArg("o", "operation",
+      "Expected: load/unload/unload_from_rack/isolate_regions");
     this.addOptWithArg("m", "maxthreads",
       "Define the maximum number of threads to use to unload and reload the 
regions");
+    this.addOptWithArg("isolateRegionIds",
+      "Comma separated list of Region IDs hash to isolate on a RegionServer 
and put "
+        + " region server in draining  mode. This option should only be used 
with '-o isolate_regions'"
+        + " only. By putting region server in decommission/draining mode, 
master can't assign any"

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to