Clearing the data from DataStax Distribution of Apache Cassandra

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 DDAC 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 DDAC