Currently commitlog directory is pointing to Directory1. I want to change it different directory D2. How should the migration be ?
This is how we did it. We have a load-balanced client that talks to Cassandra 1.1.2, and each client lives on each Cassandra node.
systemctl stop <your service name>iostat 2 - Disk activity should be near zeronodetool gossipinfonodetool disablegossipnodetool flush nodetool drainsystemctl stop cassandravi /etc/cassandra/default.conf/cassandra.yamlsystemctl start cassandratail -F /var/log/cassandra/system.lognodetool ringsystemctl start <your service here>Note that there was no need for us to do manual copying of the commitlog files themselves. Flushing and draining took care of that. The files then slowly reappeared in the new commitlog_dir location.