Clear the data from DataStax Enterprise
Remove all data from any type of DataStax Enterprise (DSE) installation.
Package installation
To clear the data from the default directories:
- 
After Stop the service. 
- 
Run one of the following commands: sudo rm -rf /var/lib/cassandra/* ## Remove all datasudo rm -rf /var/lib/cassandra/data/* ## Remove only the data directories
Tarball installation
To clear all data from the default directories:
- 
Stop the DSE process. 
- 
Remove the data from the installation location: cd <installation_location>Run one of the following commands: sudo rm -rf data/* commitlog/* saved_caches/* hints/* ## Remove all datasudo rm -rf data/* ## Remove only the data directories
