【发布时间】:2018-08-05 16:06:18
【问题描述】:
我最近从 Ubuntu 17.xx 升级到 18.04,但 Cassandra 不知何故坏了。
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error Connection refused")})
我尝试再次执行一些设置步骤,但 cassandra 用户和组以及设置文件都在那里。
sudo systemctl -l status cassandra
报告活动(退出),最后一个日志是:
Started LSB: distributed storage system for structured data.
更新: 我猜日志指向这个:
CassandraDaemon.java - Not starting RPC server as requested. Use JMX (...) or note tool (enablethrift) to start it
运行nodetool也坏了:
error: null
-- StackTrace --
java.lang.NullPointerException
...
java -version 为 10,所以我猜这就是原因。
知道我不应该升级????
现在正在寻找一种方法来更改 Cassandra 使用的 JVM 版本。
【问题讨论】: