remove_servers_rsgroup

Определение

Удаляет определенные выведенные из эксплуатации (decommissioned) серверы из группы серверов. Онлайн-серверы запрещены для этой операции.

Использование

remove_servers_rsgroup <region_servers_array[]>
Аргументы
Параметр Описание

region_servers_array

Массив строк, указанных в формате '<region_server_name>:<port_number>', где <region_server_name> — имя Region Server; <port_number> — номер порта

Примеры

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
Нашли ошибку? Выделите текст и нажмите Ctrl+Enter чтобы сообщить о ней