Decommissioning Apache HBase Nodes
About this task
Procedure
-
From the HBase shell, disable the Region Load Balancer by
setting the value of
balance_switch
tofalse
:hbase(main):001:0> balance_switch false
-
Leave the HBase shell by typing
exit
. -
Run the graceful stop script to stop the HBase RegionServer:
WARNINGThe
graceful_stop.sh
script does not look up the hostname for an IP number. Do not pass an IP number to the script. Check the list of RegionServers in the Apache HBase Master UI to determine the hostname for the node being decommissioned.[user@host] cd /opt/mapr/hbase/hbase-<hbase-version> ./bin/graceful_stop.sh <hostname>