當我收到此錯誤時,我該如何構建新的Cassandra節點?cassandra - 已保存的羣集名稱Test Cluster!=已配置名稱
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)
在cassandra.yaml文件集羣的名稱是:
cluster_name: 'thisisstupid'
請問該如何解決?
這些是什麼? – Tampa
檢查'cassandra.yaml'中的'data_file_directories','commitlog_directory'(和2.1 flush_directory)設置 –
dirs位於/ var/lib/cassandra/commitlog /var/lib/cassandra/data中....刪除或沖洗dirs的內容? – Tampa