[
https://issues.apache.org/jira/browse/CASSANDRA-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-996.
--------------------------------------
Resolution: Later
it's not designed to support adding multiple nodes w/ autobootstrap unless
1) you wait for pending range setup to complete on the previous before starting
another or
2) you manually specify initialtoken
> Assertion when bootstrapping multiple machines at the same time
> ---------------------------------------------------------------
>
> Key: CASSANDRA-996
> URL: https://issues.apache.org/jira/browse/CASSANDRA-996
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Erick Tryzelaar
>
> In testing CASSANDRA-994, I ran into this exception when I tried to bootstrap
> multiple machines at the same time:
> java.lang.AssertionError
> at
> org.apache.cassandra.locator.TokenMetadata.removeEndpoint(TokenMetadata.java:192)
> at
> org.apache.cassandra.locator.TokenMetadata.cloneAfterAllLeft(TokenMetadata.java:296)
> at
> org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:725)
> at
> org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:703)
> at
> org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:571)
> at
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:514)
> at org.apache.cassandra.service.StorageService.onJoin(StorageService.java:881)
> at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:588)
> at org.apache.cassandra.gms.Gossiper.handleNewJoin(Gossiper.java:563)
> at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:630)
> at
> org.apache.cassandra.gms.Gossiper$GossipDigestAck2VerbHandler.doVerb(Gossiper.java:1016)
> at
> org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:41)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:636)
> This is repeatable, and it appears not happen if I start a machine one at a
> time.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.