Discussion:
New node Unable to gossip with any seeds
Tim Dunphy
2014-05-26 04:07:19 UTC
Permalink
Hello,

I am trying to spin up a new node using cassandra 2.0.7. Both nodes are at
Digital Ocean. The seed node is up and running and I can telnet to port
7000 on that host from the node I'm trying to start.

[***@cassandra02 apache-cassandra-2.0.7]# telnet 10.10.1.94 7000

Trying 10.10.1.94...

Connected to 10.10.1.94.

Escape character is '^]'.

But when I start cassandra on the new node I see the following exception:


INFO 00:01:34,744 Handshaking version with /10.10.1.94

ERROR 00:02:05,733 Exception encountered during startup

java.lang.RuntimeException: Unable to gossip with any seeds

at
org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1193)

at
org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:447)

at
org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:656)

at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:612)

at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:505)

at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:362)

at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:480)

at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:569)

java.lang.RuntimeException: Unable to gossip with any seeds

at
org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1193)

at
org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:447)

at
org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:656)

at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:612)

at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:505)

at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:362)

at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:480)

at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:569)

Exception encountered during startup: Unable to gossip with any seeds

ERROR 00:02:05,742 Exception in thread
Thread[StorageServiceShutdownHook,5,main]

java.lang.NullPointerException

at org.apache.cassandra.gms.Gossiper.stop(Gossiper.java:1270)

at
org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:573)

at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)

at java.lang.Thread.run(Thread.java:745)



I'm using the murmur3 partition on both nodes and I have the seed node's IP
listed in the cassandra.yaml of the new node. I'm just wondering what the
issue might be and how I can get around it.


Thanks

Tim
--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Chris Burroughs
2014-06-04 19:11:36 UTC
Permalink
This generally means that how you are describing the see nodes address
doesn't match how it's described in the second node seeds list in the
correct way.

CASSANDRA-6523 has some links that might be helpful.
Post by Tim Dunphy
Hello,
I am trying to spin up a new node using cassandra 2.0.7. Both nodes are at
Digital Ocean. The seed node is up and running and I can telnet to port
7000 on that host from the node I'm trying to start.
Trying 10.10.1.94...
Connected to 10.10.1.94.
Escape character is '^]'.
INFO 00:01:34,744 Handshaking version with /10.10.1.94
ERROR 00:02:05,733 Exception encountered during startup
java.lang.RuntimeException: Unable to gossip with any seeds
at
org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1193)
at
org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:447)
at
org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:656)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:612)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:505)
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:362)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:480)
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:569)
java.lang.RuntimeException: Unable to gossip with any seeds
at
org.apache.cassandra.gms.Gossiper.doShadowRound(Gossiper.java:1193)
at
org.apache.cassandra.service.StorageService.checkForEndpointCollision(StorageService.java:447)
at
org.apache.cassandra.service.StorageService.prepareToJoin(StorageService.java:656)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:612)
at
org.apache.cassandra.service.StorageService.initServer(StorageService.java:505)
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:362)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:480)
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:569)
Exception encountered during startup: Unable to gossip with any seeds
ERROR 00:02:05,742 Exception in thread
Thread[StorageServiceShutdownHook,5,main]
java.lang.NullPointerException
at org.apache.cassandra.gms.Gossiper.stop(Gossiper.java:1270)
at
org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:573)
at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
at java.lang.Thread.run(Thread.java:745)
I'm using the murmur3 partition on both nodes and I have the seed node's IP
listed in the cassandra.yaml of the new node. I'm just wondering what the
issue might be and how I can get around it.
Thanks
Tim
Loading...