Cassandra cqlsh - connection refused

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

    If you check the system.log file for cassandra in /var/log/cassandra, you will see that this problem occurs because the rpc server has not started.

    By default, the start_rpc is set to false in the cassandra.yaml file. Set it to start_rpc: true and then try again.

    From Cassandra 3.0 onwards, start_rpc is set to true by default. https://docs.datastax.com/en/cassandra/3.0/cassandra/configuration/configCassandra_yaml.html

提交回复
热议问题