cassandranodetool

Cassandra - Remove node from Cluster - Decommission will not work due to disk is FULL


I have 6 Node Cassandra cluster. Then created one more Cluster with 6 nodes and added as a new data center. Now new data center has complete data and I ran alter keyspace to remove the old data center.

Everything was fine. Now I want decommission the entire data center. But this old datacenter does't have enough disk space on all of the nodes. 2 nodes are already full.

I ran decommission command on node 4, it returns No Space Left on the device. Anyhow this Datacenter is useless now. How can I remove all the nodes.


Solution

  • Why not do how it's described in the documentation?

    1. Shutdown the nodes
    2. Remove them with nodetool removenode (use nodetool assasinate as a last resort)

    Right now, with your problem just follow these steps...