Custom Search

Wednesday, November 30, 2016

org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name

Error:
ERROR [main] 2016-11-29 09:25:57,971 CassandraDaemon.java:296 - Fatal exception during initialization
org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name my-cluster
        at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:613) ~[apache-cassandra-2.1.16.jar:2.1.16]
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:292) [apache-cassandra-2.1.16.jar:2.1.16]
        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:566) [apache-cassandra-2.1.16.jar:2.1.16]
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:655) [apache-cassandra-2.1.16.jar:2.1.16]

Fix:
$ sudo rm -rf /var/lib/cassandra/data/system/*
$ sudo service cassandra restart


No comments:

Post a Comment