November 2015
Beginner to intermediate
172 pages
3h 47m
English
In order to restore data from a snapshot onto a node, follow these steps:
commitlog files:// package based installation $ rm /var/lib/cassandra/commitlog/* // Tar based installation $ rm <install-directory/data/commitlog/*
SSTable files from <data-dir>/<keyspace-name>/<column-family-name>/:// package based installation $ rm /var/lib/Cassandra/data/apache_cassandra_demo_db/user_table-f99a8ec0110611e5833fa9b7a6da1962/*.db // Tar based installation, considering tar is unpacked at /opt/cassandra location $ rm /opt/cassandra/data/data/apache_cassandra_demo_db/user_table-f99a8ec0110611e5833fa9b7a6da1962/*.db