nodetool move
Moves the node on the token ring to a new token. Generally used to shift tokens slightly.
Synopsis
nodetool <connection_options> move -- <new_token>
Connection options
| Short | Long | Description |
|---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
|
Number in partition range. For Murmur3Partitioner (default): -263 to +263-1. |
|
|
Separates an option from an argument that could be mistaken for an option. |
|
Command arguments
- token
-
The new token. Number in partition range. For Murmur3Partitioner (default): -263 to +263-1
Additional syntax is required to move a node to a negative token:
-
Precede with a double hyphen (recommended):
-- -TOKEN -
Escape the hyphen with a backslash:
\-TOKEN
-
Examples
- Move node to new token
-
nodetool move 3074457345618258602 - Move node to new negative token
-
nodetool move -- -9223372036854775808nodetool move \-9223372036854775808