scrub

Usage

NAME
        nodetool scrub - Scrub (rebuild sstables for) one or more tables

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pw <password> | --password <password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] scrub
                [(-j <jobs> | --jobs <jobs>)] [(-n | --no-validate)]
                [(-ns | --no-snapshot)] [(-s | --skip-corrupted)] [--] [<keyspace>
                <tables>...]

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

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

        -n, --no-validate
            Do not validate columns using column validator

        -ns, --no-snapshot
            Scrubbed CFs will be snapshotted first, if disableSnapshot is false.
            (default false)

        -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

        -s, --skip-corrupted
            Skip corrupted partitions even when scrubbing counter tables.
            (default false)

        -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