You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kurt Greaves (JIRA)" <ji...@apache.org> on 2017/12/27 02:34:00 UTC

[jira] [Commented] (CASSANDRA-14136) MemtableFlushWriter DecoratedKey Exception

    [ https://issues.apache.org/jira/browse/CASSANDRA-14136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304147#comment-16304147 ] 

Kurt Greaves commented on CASSANDRA-14136:
------------------------------------------

Probably related to CASSANDRA-12125. Seems to be the same exception.

> MemtableFlushWriter DecoratedKey Exception
> ------------------------------------------
>
>                 Key: CASSANDRA-14136
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14136
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Secondary Indexes
>         Environment: CentOS Linux release 7.3.1611 (Core) , 3 Node cluster with Replication Factor or 2
>            Reporter: Aditya Bharadwaj
>              Labels: beginner
>             Fix For: 3.0.11
>
>         Attachments: debug.log.gz, system.log.gz
>
>
> Running into this issue on my cluster periodically for different tables. After this error is encountered, all the post flushes stop and eventually the system runs out of memory.
> On a restart all the commit logs get played normally and things go back to normal. 
> I'm unable to understand the scenario, but the issue is recreating every few days.
> {code}DEBUG [MemtableFlushWriter:884] 2017-12-26 18:19:40,883 Memtable.java:401 - Completed flushing /mnt/DATA/cassandra/data/martjack/products_by_hierarchy5storeid_pascdesc-411cabe0632411e7b25a1b665c06298b/.id
> x_hierarchy1category/mc-2050-big-Data.db (508.127KiB) for commitlog position ReplayPosition(segmentId=1513929386900,
>  position=19110822)
> DEBUG [MemtableFlushWriter:884] 2017-12-26 18:19:41,150 Memtable.java:368 - Writing Memtable-products_by_hierarchy5storeid_pascdesc.idx_hierarchy3category@551487729(545.926KiB serialized bytes, 324073 ops, 0%/0% of on/off-heap limit)
> ERROR [MemtableFlushWriter:884] 2017-12-26 18:19:41,316 CassandraDaemon.java:205 - Exception in thread Thread[MemtableFlushWriter:884,5,main]
> java.lang.RuntimeException: Last written key DecoratedKey(CU00328612, 43553030333238363132) >= current key DecoratedKey(^@^@^@^@^@^@^@^@^@^@, 43553030333238363838) writing into /mnt/DATA/cassandra/data/martjack/products_by_hierarchy5storeid_pascdesc-411cabe0632411e7b25a1b665c06298b/.idx_hierarchy3category/mc-2134-big-Data.db
>         at org.apache.cassandra.io.sstable.format.big.BigTableWriter.beforeAppend(BigTableWriter.java:106) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.io.sstable.format.big.BigTableWriter.append(BigTableWriter.java:145) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.append(SimpleSSTableMultiWriter.java:45) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.io.sstable.SSTableTxnWriter.append(SSTableTxnWriter.java:52) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:394) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.db.Memtable.flush(Memtable.java:332) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1054) ~[apache-cassandra-3.0.9.jar:3.0.9]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_112]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_112]
>         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_112]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org