Stopping a DataStax Enterprise node
To speed up the restart process, run
nodetool drain before stopping the
This step writes the current memtables to disk.
When you restart the node, the commit log is not read which speeds the restart process.
If you have durable writes set to
false, which is unlikely, there is no commit log and you must drain the node to prevent losing data.
sudo service dse stop
To stop DataStax Enterprise (DSE) running as a stand-alone process:
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 DSE Java process ID (PID), the output instructs you to find the DSE Java process ID (PID) manually.
Stop the process using its PID number.
ps auwx | grep dse
bin/dse cassandra-stop -p PID ## Use sudo if needed