[ https://issues.apache.org/jira/browse/CASSANDRA-6256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874121#comment-13874121 ]
Tyler Hobbs commented on CASSANDRA-6256: ---------------------------------------- There's nothing obvious in the code that would seem to explain how this could happen (other than running a fat client, maybe), so I'm not sure what to do. [~brandon.williams] Do you have any ideas on how to repro? Were you doing anything in particular with this cluster at the time? > Gossip race condition can be missing HOST_ID > -------------------------------------------- > > Key: CASSANDRA-6256 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6256 > Project: Cassandra > Issue Type: Bug > Reporter: Brandon Williams > Assignee: Tyler Hobbs > > A very rare and tight race of some sort can cause: > {noformat} > ERROR [GossipStage:1] 2013-10-26 00:48:32,071 CassandraDaemon.java (line 191) > Exception in thread Thread[GossipStage:1,5,main] > java.lang.NullPointerException > at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:696) > at > org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1388) > at > org.apache.cassandra.service.StorageService.onChange(StorageService.java:1257) > at > org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1876) > at > org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:861) > at > org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:939) > at > org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:58) > at > org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > {noformat} > It isn't immediately clear how this happens since we set HOST_ID before the > gossiper even starts. -- This message was sent by Atlassian JIRA (v6.1.5#6160)