[
https://issues.apache.org/jira/browse/CASSANDRA-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010100#comment-13010100
]
Jonathan Ellis commented on CASSANDRA-2309:
-------------------------------------------
bq. The sstable2json attempt is throwing the following
That looks a lot like "sstable2json couldn't find the Cassandra schema"
bq. What might cause sstables with unordered keys to be written in 0.7.4?
Possibly some kind of ByteBuffer race, although you'd think more people would
hit that. Are the keys correct-but-unordered or unordered-and-garbage?
> Scrub resulting in "Keys must be written in ascending order" exception
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-2309
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2309
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.3, 0.7.4
> Reporter: Jason Harvey
>
> Getting the following when I try to scrub. The SSTable causing it is over a
> gig. Trying to repro on smaller tables so I have something to upload.
> {code}
> DEBUG [CompactionExecutor:1] 2011-03-10 12:07:13,264 CompactionManager.java
> (line 543) Reading row at 552076476
> DEBUG [CompactionExecutor:1] 2011-03-10 12:07:13,265 CompactionManager.java
> (line 552) row 6c6173745f636f6d6d656e74735f74335f386c387633 is 168 bytes
> DEBUG [CompactionExecutor:1] 2011-03-10 12:07:13,265 CompactionManager.java
> (line 581) Index doublecheck: row
> 6c6173745f636f6d6d656e74735f74335f386c387633 is 168 bytes
> INFO [CompactionExecutor:1] 2011-03-10 12:07:13,265 SSTableWriter.java (line
> 108) Last written key : DecoratedKey(125686934811414729670440675125192621396,
> 627975726c2833626333626339353363353762313133373331336461303233396438303534312c66692e676f73757065726d6f64656c2e636f6d2f70726f66696c65732f2f6170706c65747265713d3132373333393332313937363529)
> INFO [CompactionExecutor:1] 2011-03-10 12:07:13,265 SSTableWriter.java (line
> 109) Current key : DecoratedKey(11163129555189411157074346827960371449,
> 6c6173745f636f6d6d656e74735f74335f386c387633)
> INFO [CompactionExecutor:1] 2011-03-10 12:07:13,265 SSTableWriter.java (line
> 110) Writing into file
> /var/lib/cassandra/data/reddit/permacache-tmp-f-168492-Data.db
> WARN [CompactionExecutor:1] 2011-03-10 12:07:13,265 CompactionManager.java
> (line 599) Non-fatal error reading row (stacktrace follows)
> java.io.IOException: Keys must be written in ascending order.
> at
> org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:111)
> at
> org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:128)
> at
> org.apache.cassandra.db.CompactionManager.doScrub(CompactionManager.java:591)
> at
> org.apache.cassandra.db.CompactionManager.access$600(CompactionManager.java:56)
> at
> org.apache.cassandra.db.CompactionManager$3.call(CompactionManager.java:195)
> 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)
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira