Uninstalling DataStax Enterprise 6.9
Uninstalling Debian- and RHEL-based packages
-
Drain and stop the DataStax Enterprise service:
nodetool drain && sudo service dse stop
-
Make sure all services are stopped:
ps auwx | grep dse
-
If services are still running, use the PID to kill the service:
bin/dse cassandra-stop -p dse_pid
-
Remove the installation directories:
RHEL-based packages:
sudo yum remove "dse-*" "datastax-*"
Debian-based packages:
sudo apt-get purge "dse-*" "datastax-*"
Uninstalling the binary tarball
Use this method when you have installed DataStax Enterprise using the binary tarball.
-
Stop the node:
bin/dse cassandra-stop
-
Make sure all services are stopped:
ps auwx | grep dse
-
If services are still running, use the PID to kill the service:
bin/dse cassandra-stop -p dse_pid
-
Remove the installation directory.