Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error rename cassandra cluster name 1.2.6

Tags:

cassandra

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 doing all the steps indicate I continue with the same error when I start cassandra after change the cassandra.yaml file

Do anyone Know if it is a problem of cassandra 1.2.6?

Thanks

like image 618
ftrujillo Avatar asked Jun 18 '13 07:06

ftrujillo


People also ask

How do I rename a Cassandra Keyspace?

Keyspace Name: Keyspace name cannot be altered in Cassandra. Strategy Name: Strategy name can be altered by using a new strategy name. Replication Factor: Replication factor can be altered by using a new replication factor.


1 Answers

Empty the /var/lib/cassandra/data ,/var/lib/cassandra/commitlog ,/var/lib/cassandra/saved_caches directory and restart Casandra after changing cluster name . This works very well in version 1.2.4 ,try with your version .

It is recommended to use stable release of in envelopment product, if not done with above use 1.2.5 or 1.2.4 instead.

like image 135
Hardik Bhalani Avatar answered Sep 28 '22 21:09

Hardik Bhalani