Uninstalling DataStax Enterprise 6.0

Steps for uninstalling DataStax Enterprise 6.0.

Select the uninstall method for your type of installation.

Uninstalling Debian- and RHEL-based packages

Use this method when you have installed DataStax Enterprise using APT or Yum.

  1. Drain and stop the DataStax Enterprise service:
    nodetool drain && 
    sudo service dse stop
  2. Make sure all services are stopped:
    ps auwx | grep dse
  3. If services are still running, use the PID to kill the service:
    bin/dse cassandra-stop -p dse_pid
  4. 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.

  1. Stop the node:
    bin/dse cassandra-stop
  2. Make sure all services are stopped:
    ps auwx | grep dse
  3. If services are still running, use the PID to kill the service:
    bin/dse cassandra-stop -p dse_pid
  4. Remove the installation directory.