incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Unable to create compaction marker
Date Thu, 22 Sep 2011 08:12:36 GMT
It's in the yaml file…

# directories where Cassandra should store data on disk.
data_file_directories:
    - /var/lib/cassandra/data

The permissions are normally cassandra:cassandra

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 22/09/2011, at 12:06 PM, Daning wrote:

> Thanks Jonathan. where is the data directory configured? since I did not any permission
problem.
> 
> Daning
> 
> On 09/21/2011 11:01 AM, Jonathan Ellis wrote:
>> 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
>>> 
>> 
>> 
> 


Mime
View raw message