cassandra - Saved cluster name Test Cluster != configured name

前端 未结 7 2032
无人共我
无人共我 2020-12-02 12:10

How am I supposed to bot a new Cassandra node when I get this error?

INFO [SSTableBatchOpen:1] 2014-02-25 01:51:17,132 SSTableReader.java (line 223) Opening          


        
7条回答
  •  佛祖请我去吃肉
    2020-12-02 12:45

    I had same issue with Datastax4.7 enterprise edition. I resolved it with above instructions:

    Change the cluster name back to "test Cluster"

    start the cluster:

    cqlsh> UPDATE system.local SET cluster_name = 'Cassendra Cluster' 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: 'Cassendra Cluster'
    

    Start the cluster:

    $sudo service dse start;sudo service datastax-agent start
    

    Check Installation log:

     $ cat /var/log/cassandra/output.log
    

提交回复
热议问题