Apache Cassandra™ 1.2

Removing a node

Reduce the size of a data center.

Use these instructions when you want to remove up nodes to reduce the size of your cluster, not for replacing a dead node.
Attention: If you are not using virtual nodes (vnodes), you must rebalance the cluster.

Procedure

  1. Check whether the node is up or down using nodetool status:
    The nodetool command shows the status of the node:
    • UN=up,
    • DN=down
  2. If the node is up, run nodetool decommission.

    This assigns the ranges that the node was responsible for to other nodes and replicates the data appropriately.

    Use nodetool netstats to monitor the progress.

  3. If the node is down:
Show/hide