想要配置一个多数据中心的Cassandra集群 A,B在不同局域网
机器A seeds: a的public ip listen_address: a的private ip broadcast_address: a的public ip rpc_address: 0.0.0.0 broadcast_rpc_address: a的public ip endpoint_snitch: GossipingPropertyFileSnitch
机器B seeds: a的public ip listen_address: b的private ip broadcast_address: b的public ip rpc_address: 0.0.0.0 broadcast_rpc_address: b的public ip endpoint_snitch: GossipingPropertyFileSnitch
A,B的机架信心和数据中心信息已经在cassandra-rackdc.properties中配置
机器A能够正常启动 机器B启动时会出错 Exception (java.lang.RuntimeException) encountered during startup: Unable to gossip with any peers java.lang.RuntimeException: Unable to gossip with any peers at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1530) at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:585) at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:843) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:702) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:651) at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:388) at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:620) at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:742) ERROR [main] 2019-11-13 15:26:32,807 CassandraDaemon.java:759 - Exception encountered during startup java.lang.RuntimeException: Unable to gossip with any peers at org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1530) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:585) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:843) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.StorageService.initServer(StorageService.java:702) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.StorageService.initServer(StorageService.java:651) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:388) [apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:620) [apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:742) [apache-cassandra-3.11.5.jar:3.11.5]
请问哪里出错了?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。