cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6374) AssertionError for rows with zero columns
Date Wed, 20 Nov 2013 05:01:23 GMT

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

Jonathan Ellis updated CASSANDRA-6374:
--------------------------------------

    Attachment: 6374.txt

Patch attached to do that.  I'm a bit nervous though that I'm not 100% sure if 1.2 was actually
writing empty rows to sstables, or if it was rejecting them silently somewhere else.

> AssertionError for rows with zero columns
> -----------------------------------------
>
>                 Key: CASSANDRA-6374
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6374
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Anton Gorbunov
>             Fix For: 2.0.3
>
>         Attachments: 6374.txt
>
>
> After upgrading from 1.2.5 to 1.2.9 and then to 2.0.2 we've got those exceptions:
> {code}
> 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)
> {code}
> 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).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message