incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Unable to create compaction marker
Date Wed, 21 Sep 2011 18:01:45 GMT
Means Cassandra couldn't create an empty file in the data directory
designating a sstable as compacted.  I'd look for permissions
problems.

Short term there is no dire consequence, although it will keep
re-compacting that sstable.  Longer term you'll run out of disk space
since nothing gets deleted.

On Wed, Sep 21, 2011 at 1:44 PM, Daning <daning@netseer.com> wrote:
> I got this exception in system.log several times a day, do you have idea
> what caused this problem and what is the consequence?
>
>
> ERROR [CompactionExecutor:12] 2011-09-15 14:29:19,578
> AbstractCassandraDaemon.java (line 139) Fatal exception in thread
> Thread[CompactionExecutor:12,1,main]
> java.io.IOError: java.io.IOException: Unable to create compaction marker
>        at
> org.apache.cassandra.io.sstable.SSTableReader.markCompacted(SSTableReader.java:642)
>        at
> org.apache.cassandra.db.DataTracker.removeOldSSTablesSize(DataTracker.java:280)
>        at org.apache.cassandra.db.DataTracker.replace(DataTracker.java:253)
>        at
> org.apache.cassandra.db.DataTracker.replaceCompactedSSTables(DataTracker.java:214)
>        at
> org.apache.cassandra.db.ColumnFamilyStore.replaceCompactedSSTables(ColumnFamilyStore.java:1094)
>        at
> org.apache.cassandra.db.compaction.CompactionManager.doCompactionWithoutSizeEstimation(CompactionManager.java:599)
>        at
> org.apache.cassandra.db.compaction.CompactionManager.doCompaction(CompactionManager.java:507)
>        at
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:142)
>        at
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:108)
>        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>        at java.util.concurrent.FutureTask.run(Unknown Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>        at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.IOException: Unable to create compaction marker
>        at
> org.apache.cassandra.io.sstable.SSTableReader.markCompacted(SSTableReader.java:638)
>        ... 13 more
>
>
> Thank you in advance.
>
> Daning
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message