Database Reference
In-Depth Information
As you can see from preceding status, the node 10.10.21.7 is down. The command to
remove a dead node from the cluster is as follows:
$ nodetool -h HOSTNAME removenode NODE_HOST_ID
$ bin/nodetool removenode
97c2f5f0-9d71-4d50-9100-74f2b3611359
$ bin/nodetool status
Datacenter: us-east
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host
ID Rack
UN 10.10.21.228 3.44 GB 256 50.9% d3de1... 1a
UN 10.10.21.169 1.95 GB 256 49.1% 6dc00... 1a
It has a similar effect on the ring as nodetool decommission . Alternatively, de-
commission or disablegossip cannot be used with a dead node. You might need to
move/rebalance the cluster tokens after this, if you are not using virtual node.
Note
It must be noted that decommissioning or removing a token does not remove the data
from the node that is being removed from the system. If you plan to reuse the node, you
must clean the data directories manually.
Search WWH ::




Custom Search