nodetool stop
Where is the cassandra-env.sh file?
The location of the cassandra-env.sh file depends on the type of installation:
-
Package installations and installer-services installations:
/etc/dse/cassandra/cassandra-env.sh -
Tarball installations and installer-no services installations:
<installation_location>/resources/cassandra/conf/cassandra-env.sh
Stops the compaction process.
Synopsis
nodetool <options> stop [-id <compaction_id>] -- <compaction_type>
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
| Short | Long | Description |
|---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
|
|
Stop a single compaction operation by the specified ID. Use |
|
Supported types are:
|
|
|
Separates an option from an argument that could be mistaken for an option. |
|
|
Description
Stops all compaction operations 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, the remaining operations in the queue are continued. Eventually, the compaction is restarted.
In DataStax Enterprise 5.0 and later, a single compaction operation can be stopped with the -id option.
Run nodetool compactionstats to find the compaction ID.