Cassandra Documentation

Version:

upgradesstables

Usage

NAME
        nodetool upgradesstables - Rewrite sstables (for the requested tables)
        that are not on the current version (thus upgrading them to said current
        version)

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>)] upgradesstables
                [(-a | --include-all-sstables)] [(-j <jobs> | --jobs <jobs>)]
                [(-t <max_timestamp> | --max-timestamp <max_timestamp>)] [--]
                [<keyspace> <tables>...]

OPTIONS
        -a, --include-all-sstables
            Use -a to include all sstables, even those already on the current
            version

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

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

        -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

        -t <max_timestamp>, --max-timestamp <max_timestamp>
            Use -t to compact only SSTables that have local creation time
            _older_ than the given timestamp

        -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> <tables>...]
            The keyspace followed by one or many tables