nodetool decommission
Deactivates a node by streaming its data to another node.
Deactivates a node by streaming its data to another node.
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.
Tip: Use nodetool nodetool netstats to monitor the progress.
Note: 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 |
---|---|---|
-h |
--host |
Hostname or IP address. |
-p |
--port |
Port number. |
-pwf |
--password-file |
Password file path. |
-pw |
--password |
Password. |
-u |
--username |
Remote JMX agent username. |
-- |
Separates an option from an argument that could be mistaken for a option. |
- -f, --force
-
Force decommission of this node even when it reduces the number of replicas to below configured RF.