cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sterligov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8159) NPE in SSTableReader
Date Tue, 21 Oct 2014 17:34:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178698#comment-14178698
] 

Alexander Sterligov commented on CASSANDRA-8159:
------------------------------------------------

Yes, sstablescrub worked.

> NPE in SSTableReader
> --------------------
>
>                 Key: CASSANDRA-8159
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8159
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Alexander Sterligov
>            Priority: Minor
>
> Log file contained a lot of following exceptions:
> {quote}
> WARN  [CompactionExecutor:15674] 2014-10-21 20:57:56,838 OutputHandler.java:52 - Out
of order row detected (DecoratedKey(8937955371032053430, 39352e3130382e3234322e32302d6765744d656d427566666572734d62)
found
>  after DecoratedKey(9186481584950194146, 800100010000000c62617463685f6d7574617465000056640d00010b0d0000000100))
> {quote}
> I tried to scrub sstables by nodetool and got:
> {quote}
> ERROR [CompactionExecutor:15674] 2014-10-21 20:57:57,229 CassandraDaemon.java:166 - Exception
in thread Thread[CompactionExecutor:15674,1,RMI Runtime]
> java.lang.NullPointerException: null
>         at org.apache.cassandra.io.sstable.SSTableReader.cloneWithNewStart(SSTableReader.java:942)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.io.sstable.SSTableRewriter.moveStarts(SSTableRewriter.java:238)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.io.sstable.SSTableRewriter.finish(SSTableRewriter.java:318)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.Scrubber.scrub(Scrubber.java:257) ~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.CompactionManager.scrubOne(CompactionManager.java:592)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.CompactionManager.access$300(CompactionManager.java:100)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.CompactionManager$3.execute(CompactionManager.java:315)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:270)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_51]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_51]
>         at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
> {quote}
> sstablescrub successfully fixed sstables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message