nodetool decommission
Deactivates a node by streaming its data to another node.
Deactivates a node by streaming its data to another 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
install_location/bin/nodetool options decommission [-f | --force]
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.