Cassandra - 开发中心无法连接到 Cassandra 集群的所有 3 个节点

Cassandra - Dev center not able to connect to all the 3 nodes of Cassandra cluster

我是 Cassandra 和 EC2 配置的新手。

我使用 Cassandra 3.0 在 AWS EC2 实例中配置了 3 个节点,所有三个节点都相互连接。

.yaml 文件中配置了以下内容

Broadcast_add: 私有ip ec2 add of instance seeds : public 所有三个节点的 ip add。 rpc_add:空白

当我尝试从 Datastax 开发中心连接到此集群时,它显示仅连接到一个节点。当单独连接到所有 3 个 ip 时,它会连接到所有节点。但是在连接文件中使用3个ip连接到集群时,它只连接到一个节点。

任何人都可以帮助解决这个问题吗?

谢谢 乌特卡什

open cassandra.yaml file and change the

1) listen_address        :-   private IP
2) broadcast_address     :-   blank
3) listen_on_broadcast_address:- true
4) rpc_address           :-   0.0.0.0
5) broadcast_rpc_address :-   public IP
6) seeds ip              :-   public IP for node.    

it's working finally


Thanks Utpal