我将 ccm 与 cassandra 2.0.9 一起使用。我实际上在 ccm 中有 8 个节点。当我尝试连接到 node1 状态时,它显示以下错误
rishi@rishi:~/work/ccm$ ccm node1 status
Traceback (most recent call last):
File "/usr/local/bin/ccm", line 5, in <module>
pkg_resources.run_script('ccm==2.1.7', 'ccm')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/ccm-2.1.7-py2.7.egg/EGG-INFO/scripts/ccm", line 86, in <module>
File "build/bdist.linux-x86_64/egg/ccmlib/cmds/node_cmds.py", line 257, in run
File "build/bdist.linux-x86_64/egg/ccmlib/node.py", line 720, in nodetool
ccmlib.node.NodetoolError: Nodetool command '/home/local/rishi/work/ccm/apache-cassandra-2.0.9/bin/nodetool -h localhost -p 7100 status' failed; exit status: 1; stderr: Failed to connect to 'localhost:7100': Connection refused
谁能帮我?