Cassandra Documentation

Version:

rebuild

Usage

NAME
        nodetool rebuild - Rebuild data by streaming from other nodes (similarly
        to bootstrap)

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pp | --print-port)] [(-pw <password> | --password <password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] rebuild
                [(-ks <specific_keyspace> | --keyspace <specific_keyspace>)]
                [(-s <specific_sources> | --sources <specific_sources>)]
                [(-ts <specific_tokens> | --tokens <specific_tokens>)] [--]
                <src-dc-name>

OPTIONS
        -h <host>, --host <host>
            Node hostname or ip address

        -ks <specific_keyspace>, --keyspace <specific_keyspace>
            Use -ks to rebuild specific keyspace.

        -p <port>, --port <port>
            Remote jmx agent port number

        -pp, --print-port
            Operate in 4.0 mode with hosts disambiguated by port number

        -pw <password>, --password <password>
            Remote jmx agent password

        -pwf <passwordFilePath>, --password-file <passwordFilePath>
            Path to the JMX password file

        -s <specific_sources>, --sources <specific_sources>
            Use -s to specify hosts that this node should stream from when -ts
            is used. Multiple hosts should be separated using commas (e.g.
            127.0.0.1,127.0.0.2,...)

        -ts <specific_tokens>, --tokens <specific_tokens>
            Use -ts to rebuild specific token ranges, in the format of "(start_token_1,end_token_1],(start_token_2,end_token_2],...(start_token_n,end_token_n]".

        -u <username>, --username <username>
            Remote jmx agent username

        --
            This option can be used to separate command-line options from the
            list of argument, (useful when arguments might be mistaken for
            command-line options

        <src-dc-name>
            Name of DC from which to select sources for streaming. By default,
            pick any DC