cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kjellman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5127) unsafeAssassinateEndpoint throws NullPointerException and fails to remove node from gossip
Date Tue, 08 Jan 2013 15:48:12 GMT

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

Michael Kjellman commented on CASSANDRA-5127:
---------------------------------------------

logs from another node in the cluster (aka didn't execute the jmx call and is not the downed
node.

{code}
 INFO [GossipStage:1] 2013-01-08 07:42:33,258 Gossiper.java (line 767) InetAddress /10.8.30.15
is now dead.
ERROR [GossipStage:1] 2013-01-08 07:42:33,267 CassandraDaemon.java (line 133) Exception in
thread Thread[GossipStage:1,5,main]
java.lang.NullPointerException
        at org.apache.cassandra.service.StorageService.getApplicationStateValue(StorageService.java:1192)
        at org.apache.cassandra.service.StorageService.getTokensFor(StorageService.java:1200)
        at org.apache.cassandra.service.StorageService.handleStateLeft(StorageService.java:1452)
        at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1163)
        at org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1895)
        at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:805)
        at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:856)
        at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:57)
        at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
        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:662)
ERROR [GossipStage:2] 2013-01-08 07:42:35,274 CassandraDaemon.java (line 133) Exception in
thread Thread[GossipStage:2,5,main]
java.lang.NullPointerException
        at org.apache.cassandra.service.StorageService.getApplicationStateValue(StorageService.java:1192)
        at org.apache.cassandra.service.StorageService.getTokensFor(StorageService.java:1200)
        at org.apache.cassandra.service.StorageService.handleStateLeft(StorageService.java:1452)
        at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1163)
        at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:917)
        at org.apache.cassandra.gms.Gossiper.applyNewStates(Gossiper.java:908)
        at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:866)
        at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:57)
        at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
        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:662)
{code}
                
> unsafeAssassinateEndpoint throws NullPointerException and fails to remove node from gossip
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5127
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5127
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 12.04
>            Reporter: Michael Kjellman
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 1.2.1
>
>
> unsafeAssassinateEndpoint() throws NullPointerException and the node still seems to be
in gossip. 
> gossip info for node in question:
> {code}
> /10.8.30.15
>   HOST_ID:d84a5632-d6d5-4b06-8e1b-ae39ab185ca1
>   RPC_ADDRESS:0.0.0.0
>   RACK:RAC1
>   DC:DC1
>   REMOVAL_COORDINATOR:REMOVER,b63fe173-5d13-4905-a59f-a78790f4f980
>   RELEASE_VERSION:1.2.0
>   NET_VERSION:6
>   LOAD:2.64185473948E11
>   STATUS:removed,d84a5632-d6d5-4b06-8e1b-ae39ab185ca1,1357874470406
>   SCHEMA:5cd8420d-ce3c-3625-8293-67558a24816b
> {code}
> {code}
> ERROR 19:26:20,078 Exception in thread Thread[GossipStage:1,5,main]
> java.lang.NullPointerException
> 	at org.apache.cassandra.service.StorageService.getApplicationStateValue(StorageService.java:1192)
> 	at org.apache.cassandra.service.StorageService.getTokensFor(StorageService.java:1200)
> 	at org.apache.cassandra.service.StorageService.handleStateLeft(StorageService.java:1452)
> 	at org.apache.cassandra.service.StorageService.onChange(StorageService.java:1163)
> 	at org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1895)
> 	at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:805)
> 	at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:856)
> 	at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:57)
> 	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message