Cassandra cqlsh - connection refused

前端 未结 20 2117
名媛妹妹
名媛妹妹 2020-12-01 11:50

I\'ve just started working with Cassandra (datastax), version 2.1.3 and cqlsh version 5.0.1.

Cassandra starts up fine and the cluster is operational instantly.

20条回答
  •  醉酒成梦
    2020-12-01 12:25

    Had same problem recently after downgrade from Cassandra 3.0 to Cassandra 2.2 on ArchLinux.

    Unlike above solutions my problem wasn't in .cassandra, but version 3.0 left its configuration in /var/lib/cassandra directory.

    Following commands solved my problem:

    sudo rm -R /var/lib/cassandra
    sudo rm -R /var/log/cassandra
    sudo rm -R /usr/share/cassandra
    

    Then i installed cassandra and everything worked again :)

提交回复
热议问题