我試圖使用nodetool來檢查我的集羣的狀態,但它無法連接。Cassandra節點工具連接超時
我的cassandra.yaml配置了listen_address和rpc_address作爲服務器IP(例如10.10.10.266)。
我能夠通過cqlsh和cassandra-cli使用相同的IP連接,但是當我連接到nodetool時它不起作用。
/bin$ nodetool -h 10.10.10.266 ring
Failed to connect to '10.10.10.266:7199': Connection has timed out
我不認爲我在服務器上啓用了防火牆(Ubuntu)。我直接在服務器上運行這個問題,所以我不會認爲這將是一個防火牆問題。
Cassandra肯定正在運行(我可以使用上述主機連接到cqlsh)。運行'nodetool ring'仍然超時 - 「無法連接到'127.0.0.1:7199':連接超時」。我也用localhost和0.0.0.0試了一下 – beterthanlife 2013-03-11 11:22:35