Uninstalling the DataStax Distribution of Apache Cassandra 3.11

Instructions for uninstalling DataStax Distribution of Apache Cassandra 3.11.

Instructions for uninstalling DataStax Distribution of Apache Cassandra (DDAC).

In a terminal window:
  1. Get the cassandra process identifier (PID):
    ps auwx | grep cassandra # Use sudo if necessary
  2. Kill the cassandra process:
    kill cassandra_pid # Use sudo if necessary
Warning: The following steps completely remove all data from the machine.
  1. Remove the installation directory:
    sudo rm -r installation_location/data
  2. Remove the library and log directories. For example:
    sudo rm -r /var/lib/cassandra #default location
    sudo rm -r /var/log/cassandra  #default location