cassandra Running Repair on Cassandra

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • Synopsis

  • nodetool [node-options] repair [other-options]

  • Node options

  • [(-h <host> | --host <host>)]

  • [(-p <port> | --port <port>)]

  • [(-pw <password> | --password <password>)]

  • [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]

  • [(-u <username> | --username <username>)]

  • Other options

  • [(-dc <specific_dc> | --in-dc <specific_dc>)...]

  • [(-dcpar | --dc-parallel)]

  • [(-et <end_token> | --end-token <end_token>)]

  • [(-full | --full)]

  • [(-hosts <specific_host> | --in-hosts <specific_host>)...]

  • [(-j <job_threads> | --job-threads <job_threads>)]

  • [(-local | --in-local-dc)]

  • [(-pl | --pull)]

  • [(-pr | --partitioner-range)]

  • [(-seq | --sequential)]

  • [(-st <start_token> | --start-token <start_token>)]

  • [(-tr | --trace)]

  • [--]

  • [<keyspace> <tables>...]

Parameters

ParameterDetails
-dc <specific_dc>, --in-dc <specific_dc>Use -dc to repair specific datacenters
-dcpar, --dc-parallelUse -dcpar to repair data centers in parallel.
-et <end_token>, --end-token <end_token>Use -et to specify a token at which repair range ends
-full, --fullUse -full to issue a full repair.
-h <host>, --host <host>Node hostname or ip address
-hosts <specific_host>, --in-hosts <specific_host>Use -hosts to repair specific hosts
-j <job_threads>, --job-threads <job_threads>Number of threads to run repair jobs. Usually this means number of CFs to repair concurrently. WARNING: increasing this puts more load on repairing nodes, so be careful. (default: 1, max: 4)
-local, --in-local-dcUse -local to only repair against nodes in the same datacenter
-p <port>, --port <port>Remote jmx agent port number
-pl, --pullUse --pull to perform a one way repair where data is only streamed from a remote node to this node.
-pr, --partitioner-rangeUse -pr to repair only the first range returned by the partitioner
-pw <password>, --password <password>Remote jmx agent password
-pwf <passwordFilePath>, --password-file <passwordFilePath>Path to the JMX password file
-seq, --sequentialUse -seq to carry out a sequential repair
-st <start_token>, --start-token <start_token>Use -st to specify a token at which the repair range starts
-tr, --traceUse -tr to trace the repair. Traces are logged to system_traces.events.
-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


Got any cassandra Question?