Clearing the data from Windows

Remove all data from a Windows installations.

Remove all data from a Windows installations.

Procedure

To clear all data from the default directories, including the commitlog and saved_caches:

  1. After stopping Cassandra the process, run the following command from the install directory:
    C:\> rmdir /s "Program Files\DataStax Community\apache-cassandra\data"
  2. To clear the only the data directory:
    C:\> rmdir /s "Program Files\DataStax Community\apache-cassandra\data\data"