Datastax Error : Cassandra - Saved cluster name Test Cluster != configured name
While changing existing cluster name in datastax, i got name mismatch exception in log file. Process i followed was changed the cluster name in cassandra.yaml configuration file. $ nano /etc/dse/cassandra/cassandra.yaml cluster_name: 'Test Cluster1' Solution : Change the cluster name to "New Cluster Name" : $ cqlsh `hostname -I` cqlsh> UPDATE system.local SET cluster_name = 'New Cluster Name' where key='local'; cqlsh> exit; $ nodetool flush system Stop the cluster : $ sudo service dse stop;sudo service datastax-agent stop Edit the file : $ sudo vi /etc/dse/cassandra/cassandra.yaml cluster_name: ' New Cluster Name ' Start the cluster : $ sudo service dse start;sudo service datastax-agent start Check Installation log : $ cat /var/log/cassandra/output.log Reference : https://support.datastax.com/hc/en-us/articles/205289825-Change-Cluster-Name-
Comments
Post a comment