You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mubarak Seyed <mu...@gmail.com> on 2010/07/15 03:46:17 UTC

Bootstrap Token collision

The cluster nodes were running fine. When i restarted to modify the JVM heap
settings, two of the nodes are not joining the cluster and throws Bootstrap
Token collision

Any idea how to fix this error?

ERROR [GMFD:1] 2010-07-15 01:23:13,756 DebuggableThreadPoolExecutor.java
(line 101) Error in ThreadPoolExecutor
java.lang.RuntimeException: Bootstrap Token collision between
/xx.xxx.xxx.xxxx and /xx.yyy.zzz.aaa (token
141231821124659524366835775276207938883
        at
org.apache.cassandra.locator.TokenMetadata.addBootstrapToken(TokenMetadata.java:130)
        at
org.apache.cassandra.service.StorageService.handleStateBootstrap(StorageService.java:529)
        at
org.apache.cassandra.service.StorageService.onChange(StorageService.java:492)
        at
org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:730)
        at
org.apache.cassandra.gms.Gossiper.applyApplicationStateLocally(Gossiper.java:695)
        at
org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:649)
        at
org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:60)
        at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)


-- 
Thanks,
Mubarak Seyed.

Re: Bootstrap Token collision

Posted by Gary Dusbabek <gd...@gmail.com>.
Did you add a new node to the cluster at the time you restarted it?
If not, I would think that each node already had a token that would
make such a collision impossible, unless we have a new bug to
troubleshoot.

Gary.

On Wed, Jul 14, 2010 at 20:46, Mubarak Seyed <mu...@gmail.com> wrote:
> The cluster nodes were running fine. When i restarted to modify the JVM heap
> settings, two of the nodes are not joining the cluster and throws Bootstrap
> Token collision
> Any idea how to fix this error?
> ERROR [GMFD:1] 2010-07-15 01:23:13,756 DebuggableThreadPoolExecutor.java
> (line 101) Error in ThreadPoolExecutor
> java.lang.RuntimeException: Bootstrap Token collision between
> /xx.xxx.xxx.xxxx and /xx.yyy.zzz.aaa (token
> 141231821124659524366835775276207938883
>         at
> org.apache.cassandra.locator.TokenMetadata.addBootstrapToken(TokenMetadata.java:130)
>         at
> org.apache.cassandra.service.StorageService.handleStateBootstrap(StorageService.java:529)
>         at
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:492)
>         at
> org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:730)
>         at
> org.apache.cassandra.gms.Gossiper.applyApplicationStateLocally(Gossiper.java:695)
>         at
> org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:649)
>         at
> org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:60)
>         at
> org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
>
> --
> Thanks,
> Mubarak Seyed.
>