cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dikang Gu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10952) NullPointerException in Gossiper.getHostId
Date Tue, 29 Dec 2015 20:06:49 GMT
Dikang Gu created CASSANDRA-10952:
-------------------------------------

             Summary: NullPointerException in Gossiper.getHostId
                 Key: CASSANDRA-10952
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10952
             Project: Cassandra
          Issue Type: Bug
            Reporter: Dikang Gu


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:
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]

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