nodetool decommission
Deactivates a node by streaming its data to another node.
Causes a live node to decommission itself, streaming its data to the next node on the ring.
Decommission puts a node in LEAVING state.
The leaving node keeps its CQL port open and continues to serve read and write queries while the decommission process streams data to other nodes.
When the decommission finishes, the node stops providing CQL service and gossip while leaving the JVM alive.
When decommissioning a DSEFS node, you must unmount DSEFS before removing that node.
See Decommissioning a datacenter, Removing a node, and Adding a node and then decommissioning the old node.
|
Use |
|
Decommission does not shutdown the node, shutdown the node after decommission has completed. |
Synopsis
nodetool options decommission [-f | --force]
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
| Short | Long | Description |
|---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
|
Separates an option from an argument that could be mistaken for an option. |
|
-f,--force-
Force decommission of this node even when it reduces the number of replicas to below configured RF.