cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8210) "java.lang.AssertionError: Memory was freed" exception in CompactionExecutor
Date Mon, 02 Feb 2015 10:54:34 GMT

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

Marcus Eriksson commented on CASSANDRA-8210:
--------------------------------------------

could you post the server side log for this?

> "java.lang.AssertionError: Memory was freed" exception in CompactionExecutor
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8210
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8210
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: DSE 4.5.2, Cassandra 2.0.10, OEL 6.5, kernel 3.8.13-44.el6uek.x86_64,
128Gb of RAM, swap disabled, JRE 1.7.0_67-b01
>            Reporter: Nikolai Grigoriev
>            Priority: Minor
>         Attachments: cassandra-env.sh, cassandra.yaml, occurence frequency.png, system.log.gz
>
>
> I have just got this problem on multiple nodes. Cassandra 2.0.10 (DSE 4.5.2). After looking
through the history I have found that it was actually happening on all nodes since the start
of large compaction process (I've loaded tons of data in the system and then turned off all
load to let it compact the data).
> {code}
> ERROR [CompactionExecutor:1196] 2014-10-28 17:14:50,124 CassandraDaemon.java (line 199)
Exception in thread Thread[CompactionExecutor:1196,1,main]
> java.lang.AssertionError: Memory was freed
>         at org.apache.cassandra.io.util.Memory.checkPosition(Memory.java:259)
>         at org.apache.cassandra.io.util.Memory.getInt(Memory.java:211)
>         at org.apache.cassandra.io.sstable.IndexSummary.getIndex(IndexSummary.java:79)
>         at org.apache.cassandra.io.sstable.IndexSummary.getKey(IndexSummary.java:84)
>         at org.apache.cassandra.io.sstable.IndexSummary.binarySearch(IndexSummary.java:58)
>         at org.apache.cassandra.io.sstable.SSTableReader.getSampleIndexesForRanges(SSTableReader.java:692)
>         at org.apache.cassandra.io.sstable.SSTableReader.estimatedKeysForRanges(SSTableReader.java:663)
>         at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.worthDroppingTombstones(AbstractCompactionStrategy.java:328)
>         at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.findDroppableSSTable(LeveledCompactionStrategy.java:354)
>         at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.getMaximalTask(LeveledCompactionStrategy.java:125)
>         at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.getNextBackgroundTask(LeveledCompactionStrategy.java:113)
>         at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:192)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



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

Mime
View raw message