Cassandra - How to remove a dead node

5k views Asked by At

Cassandra version 1.2.9. Five node cluster, but one of the nodes is down with hardware failure and repair/replacement ETA is unknown. I want to decommission/remove the down node (the notifications are cluttering all logs). nodetool removenode seems to be perfect, except it requires a host ID. The down node has no host ID (listed as null in status):

It appears that removetoken is no longer an option for nodetool.

What is the proper way to remove this dead node?

1

There are 1 answers

0
Manojkumar Khotele On

The question is for older version of cassandra. But the official solution should apply for any version of cassandra - https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsGossipPurge.html

The steps there basically tells to stop the cluster, delete the sstables related to peering, clear the gossip state and restart the cluster; which makes sense.