mirror of https://github.com/apache/cassandra
76 lines
3.1 KiB
Plaintext
76 lines
3.1 KiB
Plaintext
NAME
|
|
nodetool consensus_admin - List and mark ranges as migrating between
|
|
consensus protocols
|
|
|
|
SYNOPSIS
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] consensus_admin <command>
|
|
[<args>]
|
|
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)]
|
|
consensus_admin begin-migration
|
|
[(-et <end_token> | --end-token <end_token>)]
|
|
[(-st <start_token> | --start-token <start_token>)] [--] <keyspace>
|
|
<tables>
|
|
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)]
|
|
consensus_admin finish-migration
|
|
[(-et <end_token> | --end-token <end_token>)]
|
|
[(-st <start_token> | --start-token <start_token>)] [--] <keyspace>
|
|
<tables>
|
|
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] consensus_admin list
|
|
[(-f <format> | --format <format>)] [--] <keyspace> <tables>
|
|
|
|
OPTIONS
|
|
-h <host>, --host <host>
|
|
Node hostname or ip address
|
|
|
|
-p <port>, --port <port>
|
|
Remote jmx agent port number
|
|
|
|
-pw <password>, --password <password>
|
|
Remote jmx agent password
|
|
|
|
-pwf <passwordFilePath>, --password-file <passwordFilePath>
|
|
Path to the JMX password file
|
|
|
|
-u <username>, --username <username>
|
|
Remote jmx agent username
|
|
|
|
COMMANDS
|
|
With no arguments, Display help information
|
|
|
|
begin-migration
|
|
Mark the range as migrating for the specified token range and tables
|
|
|
|
With --start-token option, Use -st to specify a token at which the repair
|
|
range starts
|
|
|
|
With --end-token option, Use -et to specify a token at which repair range
|
|
ends
|
|
finish-migration
|
|
Complete the migration for a range that has already begun migration
|
|
|
|
With --start-token option, Use -st to specify a token at which the repair
|
|
range starts (exclusive)
|
|
|
|
With --end-token option, Use -et to specify a token at which repair range
|
|
ends (inclusive)
|
|
list
|
|
List migrating tables and ranges
|
|
|
|
With --format option, Output format, YAML and JSON are the only supported
|
|
formats, default YAML, prefix with `minified-` to turn off pretty printing
|