Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7946

NPE when streaming data to a joining node and dropping table in cluster

    XMLWordPrintableJSON

Details

    • Normal

    Description

      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.

      Attachments

        1. 7946-2.0.txt
          3 kB
          Yuki Morishita

        Activity

          People

            yukim Yuki Morishita
            doanduyhai DuyHai Doan
            Yuki Morishita
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: