Reputation: 11
Am trying to bring up a small cassandra cluster with 3 nodes in it. The cluster will have one seed node. The seed node is bought up first. Once its up, I bring up both the other two nodes "AT THE SAME TIME". What I see is only one node gets added to the cluster. I get the following exception on the other node.
ERROR [main] 2013-03-20 11:44:57,146 CassandraDaemon.java (line 387) Exception encountered during startup
java.lang.RuntimeException: Every node is a bootstrap source! **Please specify an initial token manually or wait for an existing bootstrap operation to finish.**
at org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:180)
at org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:135)
at org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java:115)
at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:620)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:508)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:406)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:282)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:370)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:413)
Does cassandra (the seed node) have a problem in handling simultaneous bootstrapping from multiple nodes? Is that a limitation? If so, any way of getting over it?
Upvotes: 1
Views: 1959
Reputation: 4792
Have you specify initial token values in each node? If not set their values, you can refer this Cassandra Visual Ring
Upvotes: 1