O'Reilly logo

Apache Cassandra Essentials by Nitin Padalia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Replacing dead nodes in a cluster

To replace a dead node, we should first remove that node using the nodetool removenode command as described earlier, and then we should add the new node as discussed in the previous section.

Note

If the new node's IP address is different to the previous dead node's IP address, then start Cassandra on the new node with the startup parameter replace_address=<IP-address-of-dead-node>.

To replace a node that is alive and being replaced due to hardware upgrade or another such reason, we should first add the new node and then decommission the old node using the nodetool decommission command, as discussed previously.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required