cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Knighton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10952) NullPointerException in Gossiper.getHostId
Date Fri, 08 Jan 2016 23:10:39 GMT

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

Joel Knighton commented on CASSANDRA-10952:
-------------------------------------------

You are correct - this looks to be a different issue than [CASSANDRA-10089]. I'm not immediately
able to find the problem.

A few more pieces of information would be helpful:
1. Can you provide full logs from both a node that was already in the cluster and a bootstrapping
node?
2. Is the bootstrapped node missing from all nodes in the cluster or just some?
3. What does nodetool status on a missing bootstrapped node report?

Thanks.

> NullPointerException in Gossiper.getHostId
> ------------------------------------------
>
>                 Key: CASSANDRA-10952
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10952
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Dikang Gu
>            Assignee: Joel Knighton
>
> We added some nodes into our cluster, for some of them, when they finish bootstrap, they
are not shown in the `nodetool status` of other nodes.
> I checked the logs and found this:
> {code}
> 2015-12-29_05:06:23.89461 ERROR 05:06:23 Exception in thread Thread[GossipStage:9,5,main]
> 2015-12-29_05:06:23.89463 java.lang.NullPointerException: null
> 2015-12-29_05:06:23.89463       at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:811)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89464       at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:1664)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89464       at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1485)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89464       at org.apache.cassandra.gms.Gossiper.doOnChangeNotifications(Gossiper.java:1156)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89465       at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:1138)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89465       at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:1095)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89466       at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:58)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89466       at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:62)
~[apache-cassandra-2.1.8+git20151215.c8ed2ab16.jar:2.1.8+git20151215.c8ed2ab16]
> 2015-12-29_05:06:23.89469       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_45]
> 2015-12-29_05:06:23.89469       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
~[na:1.7.0_45]
> 2015-12-29_05:06:23.89469       at java.lang.Thread.run(Thread.java:744) ~[na:1.7.0_45]
> {code}
> This looks different than CASSANDRA-10089, so I create a new jira.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message