[ https://issues.apache.org/jira/browse/CASSANDRA-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000602#comment-13000602 ]
Jonathan Ellis commented on CASSANDRA-2240: ------------------------------------------- Sebastien, go ahead and try scrub after rebuilding w/ the newest patch. But if your example is like the others, you're seeing something other than the CASSANDRA-2211/CASSANDRA-2216 corruption that scrub is intended to deal with. So far the only suggestion I have to track that down is to start over and run with snapshot_before_compaction turned on in cassandra.yaml, so when a corrupt sstable is generated we will know where it came from. > nodetool scrub hangs or throws an exception > ------------------------------------------- > > Key: CASSANDRA-2240 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2240 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 0.7.3 > Environment: using build #314 from hudson > Reporter: Yaniv Kunda > Assignee: Jonathan Ellis > Fix For: 0.7.4 > > Attachments: 2240.txt, exception2.txt, jstack1.txt, > signatureBuckets-f-104.tar.gz, system.log.2.gz, system.log.gz, > test-0.6.x-tables.tar.gz, userChannelFilter-f-210.tar.gz > > > trying to run nodetool scrub hung or (only happened one time) threw the > following exception: > ERROR [CompactionExecutor:1] 2011-02-28 10:26:26,620 > AbstractCassandraDaemon.java (line 114) Fatal exception in thread > Thread[CompactionExecutor:1,1,main] > java.lang.AssertionError > at > org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:62) > at > org.apache.cassandra.io.sstable.SSTableReader.decodeKey(SSTableReader.java:627) > at > org.apache.cassandra.db.CompactionManager.doScrub(CompactionManager.java:538) > at > org.apache.cassandra.db.CompactionManager.access$600(CompactionManager.java:55) > at > org.apache.cassandra.db.CompactionManager$3.call(CompactionManager.java:194) > 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:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira