Jean-Baptiste Le Duigou created CASSANDRA-12743:
---------------------------------------------------

             Summary: Assertion error while runnning compaction 
                 Key: CASSANDRA-12743
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12743
             Project: Cassandra
          Issue Type: Bug
          Components: Compaction
         Environment: unix
            Reporter: Jean-Baptiste Le Duigou


While running compaction I run into an error sometimes :
{noformat}
nodetool compact
error: null
-- StackTrace --
java.lang.AssertionError
        at 
org.apache.cassandra.io.compress.CompressionMetadata$Chunk.<init>(CompressionMetadata.java:463)
        at 
org.apache.cassandra.io.compress.CompressionMetadata.chunkFor(CompressionMetadata.java:228)
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile.createMappedSegments(CompressedSegmentedFile.java:80)
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile.<init>(CompressedPoolingSegmentedFile.java:38)
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:198)
        at 
org.apache.cassandra.io.sstable.format.big.BigTableWriter.openEarly(BigTableWriter.java:315)
        at 
org.apache.cassandra.io.sstable.SSTableRewriter.maybeReopenEarly(SSTableRewriter.java:171)
        at 
org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:116)
        at 
org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.append(DefaultCompactionWriter.java:64)
        at 
org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:184)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at 
org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:74)
        at 
org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
        at 
org.apache.cassandra.db.compaction.CompactionManager$8.runMayThrow(CompactionManager.java:599)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

Why is that happening?
Is there anyway to provide more details (e.g. which SSTable cannot be 
compacted)?



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

Reply via email to