cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Panov <pa...@isbc.ru>
Subject Unable to use using multiple network interfaces in Cassandra 3.0
Date Wed, 25 Nov 2015 23:36:28 GMT
Hello,

We faced with the issue that Cassandra 3.0 does not work when we tried 
to set up private and public networks usage.
The following doc was used: 
http://docs.datastax.com/en/cassandra/3.0/cassandra/configuration/configMultiNetworks.html

First node (172.20.30.91) settings
- seeds: "172.20.30.91,172.20.30.92,172.20.30.93"
# private IP
listen_address: 10.12.0.1
# public IP
rpc_address: 172.20.30.91
broadcast_address: 172.20.30.91
internode_compression: none

......

Fourth node (172.20.30.94) settings
- seeds: "172.20.30.91,172.20.30.92,172.20.30.93"
# private IP
listen_address: 10.12.0.4
# public IP
rpc_address: 172.20.30.94
broadcast_address: 172.20.30.94
internode_compression: none


All seeds detects only themself, other nodes show errors:

assandraDaemon.java:702 - Exception encountered during startup
java.lang.RuntimeException: Unable to gossip with any seeds
     at 
org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1344) 
~[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:529)

~[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:777) 
~[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:694) 
~[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:581) 
~[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:345) 
[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:561) 
[apache-cassandra-3.0.0.jar:3.0.0]
     at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:689) 
[apache-cassandra-3.0.0.jar:3.0.0]


Please advice. Thank you!

-- 

Sergey Panov


Mime
View raw message