You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/06/14 22:01:14 UTC

[jira] Resolved: (CASSANDRA-1136) NullPointerException in StreamInitiateVerbHandler.java when adding a new node

     [ https://issues.apache.org/jira/browse/CASSANDRA-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Dusbabek resolved CASSANDRA-1136.
--------------------------------------

    Resolution: Cannot Reproduce

I couldn't reproduce using these steps:
1. create a 2 node cluster with a keyspace where RF=3.
2. insert data.
3. add two nodes.
4. load balance the first and third nodes.

I could reproduce the error exactly when one of my bootstrapping nodes did not contain the keyspace definition for the ranges the existing nodes were trying to send it.  I think that was your problem.

> NullPointerException in StreamInitiateVerbHandler.java when adding a new node
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1136
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1136
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Nahor
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.6.3
>
>
> When I add a node to my cluster I get a NullPointerException:
> INFO 15:58:13,825 Bootstrapping
> ERROR 15:58:14,581 Error in ThreadPoolExecutor
> java.lang.NullPointerException
>         at org.apache.cassandra.streaming.StreamInitiateVerbHandler.getNewNames(StreamInitiateVerbHandler.java:154)
>         at org.apache.cassandra.streaming.StreamInitiateVerbHandler.doVerb(StreamInitiateVerbHandler.java:76)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
>         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:619)
> ERROR 15:58:14,582 Fatal exception in thread Thread[MESSAGE-DESERIALIZER-POOL:1,5,main]
> java.lang.NullPointerException
>         at org.apache.cassandra.streaming.StreamInitiateVerbHandler.getNewNames(StreamInitiateVerbHandler.java:154)
>         at org.apache.cassandra.streaming.StreamInitiateVerbHandler.doVerb(StreamInitiateVerbHandler.java:76)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:40)
>         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:619)
> My cluster has currently only 1 node and has a RF3.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.