incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jahangir Mohammed <md.jahangi...@gmail.com>
Subject Fatal exception CorruptColumnException : Compaction
Date Sun, 04 Dec 2011 14:24:00 GMT
Seeing below error in log during compaction. SSTable corruption?. Is fix to
scrub the Column families on that node?.

ERROR [CompactionExecutor:1019] 2011-12-04 05:47:51,319
AbstractCassandraDaemon.java (line 139) Fatal exception in thread
Thread[CompactionExecutor:1019,1,RMI Runtime]
java.io.IOError:
org.apache.cassandra.db.ColumnSerializer$CorruptColumnException: invalid
column name length 0
        at
org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:179)
        at
org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:42)
        at
org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:284)
        at
org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
        at
org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
        at
org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:69)
        at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
        at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
        at
com.google.common.collect.Iterators$7.computeNext(Iterators.java:614)
        at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
        at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
        at
org.apache.cassandra.db.ColumnIndexer.serializeInternal(ColumnIndexer.java:76)
        at
org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:50)
        at
org.apache.cassandra.db.compaction.LazilyCompactedRow.<init>(LazilyCompactedRow.java:89)
        at
org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:139)
        at
org.apache.cassandra.db.compaction.CompactionIterator.getReduced(CompactionIterator.java:123)
        at
org.apache.cassandra.db.compaction.CompactionIterator.getReduced(CompactionIterator.java:43)
        at
org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:74)
        at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
        at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
        at
org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:183)
        at
org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
        at
org.apache.cassandra.db.compaction.CompactionManager.doCompactionWithoutSizeEstimation(CompactionManager.java:570)
        at
org.apache.cassandra.db.compaction.CompactionManager.doCompaction(CompactionManager.java:507)
        at
org.apache.cassandra.db.compaction.CompactionManager$4.call(CompactionManager.java:320)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.cassandra.db.ColumnSerializer$CorruptColumnException:
invalid column name length 0
        at
org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:89)
        at
org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:36)
        at
org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:172)
        ... 29 more

Thanks,
Jahangir Mohammed.

Mime
View raw message