remove_servers_rsgroup
Contents
Definition
Removes the defined decommissioned servers from the Server Group. Online servers are disallowed for this operation.
Usage
remove_servers_rsgroup <region_servers_array[]>
Parameter | Description |
---|---|
region_servers_array |
An array of strings specified in the format |
Examples
hbase(main):013:0> remove_servers_rsgroup 'bds-adh-3.ru-central1.internal:16020' ERROR: org.apache.hadoop.hbase.constraint.ConstraintException: Server bds-adh-3.ru-central1.internal:16020 is an online server, not allowed to remove. at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.checkForDeadOrOnlineServers(RSGroupAdminServer.java:693) at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.removeServers(RSGroupAdminServer.java:609) at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint$RSGroupAdminServiceImpl.removeServers(RSGroupAdminEndpoint.java:350) at org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos$RSGroupAdminService.callMethod(RSGroupAdminProtos.java:13905) at org.apache.hadoop.hbase.master.MasterRpcServices.execMasterService(MasterRpcServices.java:816) at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304) Remove decommissioned servers from rsgroup. Dead/recovering/live servers will be disallowed. Example: hbase> remove_servers_rsgroup ['server1:port','server2:port'] Took 0.9030 seconds