org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name
-
Error: org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name
An attempt to change the cluster name in the cassandra.yml file and then starting the cassandra daemon will result in this error, revert the changes back.
Go into cqlsh and run the following.
cqlsh> UPDATE system.local SET cluster_name = 'Training Cluster' where key='local'; cqlsh> quit $ nodetool flush
Then change the cassandra.yaml file to reflect the cluster name.
© Lightnetics 2024