Cassandra cqlsh - connection refused

前端 未结 20 2080
名媛妹妹
名媛妹妹 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:05

    When I installed Cassandra 3.11.1, I came across this problem. I checked the /var/log/cassandra/cassandra.log and found this error Exception encountered during startup....It is a bug and already reported. The original post link https://issues.apache.org/jira/browse/CASSANDRA-14173.

    The solution is to downgrade Cassandra to 3.0

    1. download Cassandra rpm

    curl -O https://www.apache.org/dist/cassandra/redhat/30x/cassandra-3.0.15-1.noarch.rpm

    or

    wget https://www.apache.org/dist/cassandra/redhat/30x/cassandra-3.0.15-1.noarch.rpm

    1. rpm -ivh cassandra-3.0.15-1.noarch.rpm
    2. service cassandra start
    3. service cassandra status # check cassandra status

    cassandra (pid 2322) is running...

    1. cqlsh # start cassandra

提交回复
热议问题