I am using cassandra 1.2.6 in cluster with a single node. I am trying to rename the cluster using the instructions in:
Cassandra clustername mismatch
After d
Executing the following command using cqlsh worked for me (on Cassandra 1.2.9):
update system.local set cluster_name='$CLUSTER_NAME' where key='local';
You'll need to get it working first to access the cluster by setting cluster_name in cassandra.yaml to the old name. Afterwards, you can run a nodetool flush
, update cassandra.yaml, and restart Cassandra.