cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7098) Corrupt sstable error on restart in 2.0.1
Date Sun, 27 Apr 2014 00:23:15 GMT

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

Yuki Morishita commented on CASSANDRA-7098:
-------------------------------------------

Your SSTable path indicates it is from cassandra 2.1 or later.
If you are trying to read it from *2.0.1* it is never going to work.

> Corrupt sstable error on restart in 2.0.1
> -----------------------------------------
>
>                 Key: CASSANDRA-7098
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7098
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: ubuntu 12.04
>            Reporter: shobana
>            Priority: Trivial
>
> Came across this error while trying to reproduce CASSANDRA-6858. C* was cloned from git
repo which has 2.0.1 merged into it recently. 
> On restart, following error happens: 
> ERROR 23:14:38 Corrupt sstable /var/lib/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-9=[CompressionInfo.db,
Statistics.db, Filter.db, Data.db, Summary.db, TOC.txt, Index.db, Digest.sha1]; skipped
> java.io.EOFException: null
> 	at org.apache.cassandra.io.util.AbstractDataInput.readBoolean(AbstractDataInput.java:53)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.metadata.StatsMetadata$StatsMetadataSerializer.deserialize(StatsMetadata.java:265)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.metadata.StatsMetadata$StatsMetadataSerializer.deserialize(StatsMetadata.java:194)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:120)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:92)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:365) ~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:293) ~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader$4.run(SSTableReader.java:427) ~[main/:na]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
> 	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]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message