所以我今天一直在学习数据税教程
但是我仍然无法启动我的卡桑德拉集群并运行。
这就是我的yaml文件查找cassandra实例的方式:
集群名称:“mycassandracluster”
数字标志:256
收听地址:9.98.171.184/9.98.171.183
rpc_地址:9.98.171.184/9.98.171.183
类名:org.apache.cassandra.locator.simpleseedprovider
参数:
-种子:“9.98.171.184”
This is the error message I am getting for the seed node
However, when I run nodetool status it runs but only for a single node. In addition, the ip address does not look right for what I set to the listen_address
我非常困惑,非常感谢您的指导/帮助!提前谢谢你。

最佳答案

你需要把

listen_address: 9.98.171.183
rpc_address: 9.98.171.183

在一个节点上
listen_address: 9.98.171.184
rpc_address: 9.98.171.184

另一个,不是两个IP都有。
一般来说,给卡桑德拉提供公共IP也是个坏主意——默认情况下,没有授权,任何来自公共互联网的人都可以破坏你的数据。

10-04 14:35