嘿,伙计们,我尝试了很多在不同网站上发布的解决方案,堆叠溢出,但是没有一个对我有用。我已经通过以下cassandra.yaml参数进行了改进-
大部分的解决方案都过时了,很少的帮助是非常感谢的。
发布于 2018-05-08 03:50:56
正如在chat中讨论的那样,在cassandra.yaml中为cassandra.yaml添加私有ip地址时出现了一个错误。由于这个错误,Cassandra没有启动,因此没有输出以下命令。
nodetool status
- Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)
netstat -an | grep 9042
- returns nothing和往常一样,第一个看到错误的地方是cassandra系统日志。它清楚地指出了以下问题。
ERROR [main] 2018-05-08 02:01:26,541 CassandraDaemon.java:708 - Exception encountered during startup: Invalid yaml: file:/etc/cassandra/cassan$
Error: while scanning a simple key; could not found expected ':'; in 'reader', line 678, column 1:
# Set rpc_address OR rpc_interfa ...在修复了cassandra.yaml文件中的":“错误后,Cassandra顺利地出现了。
https://stackoverflow.com/questions/50224203
复制相似问题