clear_deadservers

Definition

Clears all dead Region Servers from HBase or the specified ones. The optional input parameter can be used for filtering dead servers. Returns an error if the list of dead servers is empty.

Usage

clear_deadservers ['<region_server_name>,<port_number>,<start_code>'[,...]]
Arguments
Parameter Description

region_server_name

A Region Server name

port_number

A port number

start_code

A Server start code

TIP
You can get <server_name>, <port_number>, and <start_code> using the status 'simple' command.

Examples

hbase(main):008:0> clear_deadservers

ERROR: servers cannot be null or empty

          Clear the dead region servers that are never used.
          Examples:
          Clear all dead region servers:
          hbase> clear_deadservers
          Clear the specified dead region servers:
          hbase> clear_deadservers 'host187.example.com,60020,1289493121758'
          or
          hbase> clear_deadservers 'host187.example.com,60020,1289493121758',
                                   'host188.example.com,60020,1289493121758'

Took 0.0166 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it