Clearing the data from the DataStax Distribution of Apache Cassandra 3.11

Remove all data.

Remove all data from DataStax Distribution of Apache Cassandra (DDAC).

Tarball installation

To clear all data from the default directories:
  1. Stop the Cassandra process.
  2. Remove the data:
    cd installation_location
    $ sudo rm -rf data/* commitlog/* saved_caches/* hints/* ## Remove all data
    $ sudo rm -rf data/data* ## Remove only the data directories

    where the installation_location is the directory where you installed Cassandra