incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ifjke <j.kes...@enercast.de>
Subject CorruptBlockException - recover?
Date Wed, 03 Jul 2013 14:04:00 GMT
Hi together,

I found that one of my cassandra nodes died recently (machine hangs). I 
restarted the node an run a nodetool repair, while running it has thrown 
a org.apache.cassandra.io.compress.CorruptBlockException. Is there any 
way to recover from this? Or would it be best to delete the nodes 
contents and bootstrap it again?

Thanks for any hints,
Jan


org.apache.cassandra.io.sstable.CorruptSSTableException: 
org.apache.cassandra.io.compress.CorruptBlockException: (/home/cassandra
/data/example/EXAMPLE/example-EXAMPLE-ib-8240-Data.db): corruption 
detected, chunk at 98414229 of length 8098.
         at 
org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:92)
         at 
org.apache.cassandra.io.util.RandomAccessReader.read(RandomAccessReader.java:355)
         at 
java.io.RandomAccessFile.readFully(RandomAccessFile.java:414)
         at 
java.io.RandomAccessFile.readFully(RandomAccessFile.java:394)
         at 
org.apache.cassandra.utils.BytesReadTracker.readFully(BytesReadTracker.java:94)
         at 
org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:395)
         at 
org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:355)
         at 
org.apache.cassandra.db.ColumnSerializer.deserializeColumnBody(ColumnSerializer.java:108)
         at 
org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:92)
         at 
org.apache.cassandra.db.ColumnFamilySerializer.deserializeColumnsFromSSTable(ColumnFamilySerializer.java:149)
         at 
org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:235)
         at 
org.apache.cassandra.db.compaction.PrecompactedRow.merge(PrecompactedRow.java:109)
         at 
org.apache.cassandra.db.compaction.PrecompactedRow.<init>(PrecompactedRow.java:93)
         at 
org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:162)
         at 
org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:76)
         at 
org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:57)
         at 
org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:114)
         at 
org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:97)
         at 
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
         at 
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
         at 
org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:146)
         at 
org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
         at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
         at 
org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:59)
         at 
org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:62)
         at 
org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:191)
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
         at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
         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:722)


Mime
View raw message