[ 
https://issues.apache.org/jira/browse/CASSANDRA-13407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960470#comment-15960470
 ] 

Alex Petrov commented on CASSANDRA-13407:
-----------------------------------------

Looks like I was able to gather a bit more information on the issue. To confirm 
what you're saying. It is possible to reproduce locally by tweaking timeouts 
(particularly making the gossip interval shorter, to emulate the slow VM). 

{code}
INFO  [GossipTasks:1] 2017-04-03 23:05:53,433 Gossiper.java:810 - FatClient 
/127.0.0.4 has been silent for 1000ms, removing from gossip
DEBUG [GossipTasks:1] 2017-04-03 23:05:53,436 Gossiper.java:432 - removing 
endpoint /127.0.0.4
DEBUG [GossipTasks:1] 2017-04-03 23:05:53,436 Gossiper.java:407 - evicting 
/127.0.0.4 from gossip
{code}

After that we can get an NPE either in {{Gossiper#getHostId}} or 
{{StorageService#isStatus}}. 

> test failure at RemoveTest.testBadHostId
> ----------------------------------------
>
>                 Key: CASSANDRA-13407
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13407
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>
> Example trace:
> {code}
> java.lang.NullPointerException
>       at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:881)
>       at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:876)
>       at 
> org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:2201)
>       at 
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:1855)
>       at org.apache.cassandra.Util.createInitialRing(Util.java:216)
>       at org.apache.cassandra.service.RemoveTest.setup(RemoveTest.java:89)
> {code} 
> [failure 
> example|https://cassci.datastax.com/job/trunk_testall/1491/testReport/org.apache.cassandra.service/RemoveTest/testBadHostId/]
> [history|https://cassci.datastax.com/job/trunk_testall/lastCompletedBuild/testReport/org.apache.cassandra.service/RemoveTest/testBadHostId/history/]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to