cassandra没有作为服务运行
系统是Linux 14.04.1-Ubuntu x86_64,200GB空间,8GB内存。一切都是在root和user中完成的。我们使用以下命令从datastax安装了Cassandra 3.6.0版(按照网站上的说明执行:): 但是,cassandra不是作为服务启动的cassandra没有作为服务运行,cassandra,Cassandra,系统是Linux 14.04.1-Ubuntu x86_64,200GB空间,8GB内存。一切都是在root和user中完成的。我们使用以下命令从datastax安装了Cassandra 3.6.0版(按照网站上的说明执行:): 但是,cassandra不是作为服务启动的 root@e7:~# nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refuse
root@e7:~# nodetool status
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
root@e7:~# service cassandra start
root@e7:~# service cassandra status
* Cassandra is not running
我们可以使用以下命令手动启动Cassandra:
$ cassandra -R -f
...
INFO 18:45:02 Starting listening for CQL clients on /127.0.0.1:9042 (unencrypted)...
INFO 18:45:02 Binding thrift service to /127.0.0.1:9160
INFO 18:45:02 Listening for thrift clients...
INFO 18:45:12 Scheduling approximate time-check task with a precision of 10 milliseconds
但是,我们必须将cassandra作为一项服务启动。有什么解决问题的建议吗 我想端口没有打开。 尝试打开以下端口: Cassandra节点间端口
Port number Description
7000 Cassandra inter-node cluster communication.
7001 Cassandra SSL inter-node cluster communication.
7199 Cassandra JMX monitoring port.
卡桑德拉客户端端口
Port number Description
9042 Cassandra client port.
9160 Cassandra client port (Thrift).
另外,在Cassandra.yaml文件中定义了什么类型的告密者?尝试使用
这更稳定,我已经试过了。使用另一个版本的cassandra解决了这个问题。前一个是ApacheCassandra的DataStax发行版™ 3.x。现在我正在使用ApacheCassandra™ 3.0,问题就消失了。以下是我现在使用的版本:
Port number Description
7000 Cassandra inter-node cluster communication.
7001 Cassandra SSL inter-node cluster communication.
7199 Cassandra JMX monitoring port.
Port number Description
9042 Cassandra client port.
9160 Cassandra client port (Thrift).