nodetool stop

Stops the compaction process.

Stops the compaction process.

Synopsis

nodetool <options> stop -- <compaction_type>
Table 1. Options
Short Long Description
-h --host Hostname or IP address
-p --port Port number
-pwf --password-file Password file path
-pw --password Password
-u --username User name
-- Separates an option from an argument that could be mistaken for a option.
Other options are:
  • A compaction type: COMPACTION, VALIDATION, CLEANUP, SCRUB, INDEX_BUILD

Description

Stops an operation from continuing to run. This command is typically used to stop a compaction that has a negative impact on the performance of a node. After the compaction stops, Cassandra continues with the remaining operations in the queue. Eventually, Cassandra restarts the compaction.