Cassandra Documentation

Version:

A newer version of this documentation is available.

View Latest

Usage

NAME
        nodetool relocatesstables - Relocates sstables to the correct disk

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pw <password> | --password <password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] relocatesstables
                [(-j <jobs> | --jobs <jobs>)] [--] <keyspace> <table>

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

        -j <jobs>, --jobs <jobs>
            Number of sstables to relocate simultanously, set to 0 to use all
            available compaction threads

        -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

        --
            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

        <keyspace> <table>
            The keyspace and table name