You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "DOAN DuyHai (JIRA)" <ji...@apache.org> on 2014/09/16 20:34:36 UTC

[jira] [Created] (CASSANDRA-7946) NPE when streaming data to a joining node and dropping table in cluster

DOAN DuyHai created CASSANDRA-7946:
--------------------------------------

             Summary: NPE when streaming data to a joining node and dropping table in cluster
                 Key: CASSANDRA-7946
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7946
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: Cassandra 2.0.9

            Reporter: DOAN DuyHai


Summary

 The cluster has 3 nodes with Vnodes. We were adding a 4th one (in auto bootstrap mode). The 4 node has stream sessions, receiving data from the others.

 While the streaming was going on (it takes quite a while because there are 200Gb of data of worth), an existing table is dropped in the cluster and a new one is created.

 A few time after, we caught an NPE in the log file of the joining node (still not finished joining):

 The NPE is located here: https://github.com/apache/cassandra/blob/cassandra-2.0/src/java/org/apache/cassandra/streaming/compress/CompressedStreamReader.java#L63

 It can be a race condition where schema agreement has not reached the joining node.



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