Cassandra cqlsh - connection refused

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

    Got into this issue for [cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4] had to set start_native_transport: true in cassandra.yaml file.

    For verification,

    • try opening tailf /var/log/cassandra/system.log file in one-tab
    • update cassandra.yaml
    • restart cassandra sudo service cassandra restart

    In logfile is shows.

    INFO  [main] 2019-03-15 19:53:06,156 Server.java:156 - Starting listening for CQL clients on /10.139.45.34:9042 (unencrypted)...
    

提交回复
热议问题