You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Kjellman (JIRA)" <ji...@apache.org> on 2013/01/08 16:46:13 UTC
[jira] [Comment Edited] (CASSANDRA-5127) unsafeAssassinateEndpoint
throws NullPointerException and fails to remove node from gossip
[ https://issues.apache.org/jira/browse/CASSANDRA-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546952#comment-13546952 ]
Michael Kjellman edited comment on CASSANDRA-5127 at 1/8/13 3:45 PM:
---------------------------------------------------------------------
{code}
WARN [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:02,143 Gossiper.java (line 419) Assassinating /10.8.30.15 via gossip
INFO [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:02,144 Gossiper.java (line 434) Sleeping for 30000ms to ensure /10.8.30.15 does not change
INFO [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:32,416 Gossiper.java (line 767) InetAddress /10.8.30.15 is now dead.
{code}
so that looks okay.
jconsole threw "Problem invoking unsafeAssassinateEndpoint: java.lang.NullPointerException"
{code}
/10.8.30.15
DC:DC1
SCHEMA:5cd8420d-ce3c-3625-8293-67558a24816b
RELEASE_VERSION:1.2.0
REMOVAL_COORDINATOR:REMOVER,b63fe173-5d13-4905-a59f-a78790f4f980
LOAD:2.64185473948E11
STATUS:LEFT,1357918952416,21210815907080254728491917739023519863
RPC_ADDRESS:0.0.0.0
NET_VERSION:6
HOST_ID:d84a5632-d6d5-4b06-8e1b-ae39ab185ca1
RACK:RAC1
{code}
node is still in gossipinfo though..
I assumed that stack trace which happened at the same time correlated to the npe.
was (Author: mkjellman):
{code}
WARN [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:02,143 Gossiper.java (line 419) Assassinating /10.8.30.15 via gossip
INFO [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:02,144 Gossiper.java (line 434) Sleeping for 30000ms to ensure /10.8.30.15 does not change
INFO [RMI TCP Connection(3166)-10.8.240.170] 2013-01-08 07:42:32,416 Gossiper.java (line 767) InetAddress /10.8.30.15 is now dead.
{code}
so that looks okay.
jconsole threw "Problem invoking unsafeAssassinateEndpoint: java.lang.NullPointerException"
I assumed that stack trace which happened at the same time correlated to the npe.
> 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