shobana created CASSANDRA-7098:
----------------------------------

             Summary: 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
             Fix For: 2.0.1


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)

Reply via email to