Stopping a Cassandra node

Stopping DataStax Distribution of Apache Cassandra 3.11 on a node.

To stop DataStax Distribution of Apache Cassandra™ (DDAC):

Note: Running nodetool drain before using the cassandra-stop command to stop Cassandra is not necessary because the cassandra-stop command drains the node before stopping it.
From the installation location:
bin/dse cassandra-stop ## Use sudo if needed
In the unlikely event that the cassandra-stop command fails because it cannot find the Cassandra Java process ID (PID), the output instructs you to find the Cassandra Java process ID (PID) manually, and stop the process using its PID number.
ps auwx | grep cassandra
bin/cassandra-stop -p PID ## Use sudo if needed
Note: If you have trouble, see Troubleshooting DataStax Enterprise.