37
이 오류가 발생하면 어떻게 새 Cassandra 노드를 만들 수 있습니까? cassandra.yaml 파일에서 클러스터의cassandra - 저장된 클러스터 이름 Test Cluster! = configured name
INFO [SSTableBatchOpen:1] 2014-02-25 01:51:17,132 SSTableReader.java (line 223) Opening /var/lib/cassandra/data/system/local/system-local-jb-5 (5725 bytes)
ERROR [main] 2014-02-25 01:51:17,377 CassandraDaemon.java (line 237) Fatal exception during initialization
org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name thisisstupid
at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:542)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:233)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:462)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:552)
이름은 다음과 같습니다
cluster_name: 'thisisstupid'
어떻게 해결합니까?
cqlsh> UPDATE system.local SET cluster_name = 'test' where key='local';
# flush the sstables to persist the update.
bash $ ./nodetool flush
마지막으로 이름을 바꿀 필요가있다 (...하지만 당신은 각 노드이 을해야 할)