nodetool move
Moves the node on the token ring to a new token.
Moves the node on the token ring to a new token.
Additional syntax is required to move a node to a negative tokens:
- Use the preferred double hyphen
(–-):
nodetool move -- -9223372036854775808
- Escape the hyphen with a backslash (\):
nodetool move \-9223372036854775808
Synopsis
install_location/bin/nodetool <options> move -- <new token>
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. |
new token |
Number in partition range. For Murmur3Partitioner (default): -263 to +263-1. | |
-- |
Separates an option from an argument that could be mistaken for a option. |
Description
This command moves a node from one token value to another. This command is generally used to shift tokens slightly.