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

AssertionError for rows with zero columns

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2.0.3
    • Component/s: None
    • Labels:
      None

      Description

      After upgrading from 1.2.5 to 1.2.9 and then to 2.0.2 we've got those exceptions:

      ERROR [FlushWriter:1] 2013-11-18 16:14:36,305 CassandraDaemon.java (line 187) Exception in thread Thread[FlushWriter:1,5,main]
      java.lang.AssertionError
              at org.apache.cassandra.io.sstable.SSTableWriter.rawAppend(SSTableWriter.java:198)
              at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:186)
              at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:360)
              at org.apache.cassandra.db.Memtable$FlushRunnable.runWith(Memtable.java:315)
              at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
              at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
              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)
      

      Also found similar issue in this thread:
      http://www.mail-archive.com/user@cassandra.apache.org/msg32875.html
      There Aaron Morton said that its caused by leaving rows with zero columns - that's exactly what we do in some CFs (using Thrift & Astyanax).

        Attachments

        1. 6374.txt
          0.8 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              sv3k Anton Gorbunov
              Reviewer:
              Jason Brown
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: