【发布时间】:2018-08-08 15:09:09
【问题描述】:
我想知道cassandra.yaml的配置参数,即,
- listen_address
- 广播地址
- rpc_address
- broadcast_rpc_address
在特定场景中的单个节点上。
场景:6 节点集群有各自的私有 IP,但只有一个节点有公共 IP。
要求:远程python应用访问集群
我在每个节点上的尝试:
- listen_address:各自的
private IP - 广播地址:
blank - rpc_address:
blankexcept 在公共 ip 为0.0.0.0的节点上 - broadcast_rpc_address:
blankexcept 在以公共 ip 作为其public ip的节点上
我尝试从我的应用程序 Cluster(['public ip'], port=9042) 发出,但我收到了最终导致关闭我的应用程序的警告:
WARNING:cassandra.cluster:Failed to create connection pool for new 主机 192.xxx.xx.3:
【问题讨论】: