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