[ https://issues.apache.org/jira/browse/CASSANDRA-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611723#comment-13611723 ]
Ivan Sobolev commented on CASSANDRA-5374: ----------------------------------------- I thought this could be somehow related to our migration 1.1.6-->1.1.9 3 weeks ago and some SSTables in old format, but the logging message concerning this SSTable says it was created after the migration: {code}INFO [CompactionExecutor:18551] 2013-03-20 20:38:46,657 CompactionTask.java (line 230) Compacted to [/keyspace/cf/keyspace-cf-hf-9591-Data.db,/keyspace/cf/keyspace-cf-hf-9593-Data.db,/keyspace/cf/keyspace-cf-hf-9594-Data.db,/keyspace/cf/keyspace-cf-hf-9595-Data.db,/keyspace/cf/keyspace-cf-hf-9596-Data.db,/keyspace/cf/keyspace-cf-hf-9597-Data.db,/keyspace/cf/keyspace-cf-hf-9598-Data.db,]. 44,032,116 to 40,625,649 (~92% of original) bytes for 24,625 keys at 0.995290MB/s. Time: 38,927ms. INFO [CompactionExecutor:18551] 2013-03-20 20:38:46,658 CompactionTask.java (line 107) Compacting [SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9060-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9058-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9063-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9554-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9059-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9061-Data.db'), SSTableReader(path='/keyspace/cf/keyspace-cf-hf-9062-Data.db')]{code} > Errors while opening SSTables on Cassandra start after an outage > ---------------------------------------------------------------- > > Key: CASSANDRA-5374 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5374 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.1.9 > Reporter: Ivan Sobolev > > Getting plenty of those - is that normal? I thought *tmp files Cassandra > generates should guarantee all SSTables will be the ones written in proper > state. > {code}ERROR [SSTableBatchOpen:3] 2013-03-21 19:28:34,030 > AbstractCassandraDaemon.java (line 135) Exception in thread > Thread[SSTableBatchOpen:3,5,main] > java.io.IOError: java.io.EOFException > at > org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:63) > at > org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.complete(CompressedSegmentedFile.java:55) > at > org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:429) > at > org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:200) > at > org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:153) > at > org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:242) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.io.EOFException > at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:323) > at java.io.DataInputStream.readUTF(DataInputStream.java:572) > at java.io.DataInputStream.readUTF(DataInputStream.java:547) > at > org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:74) > at > org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:59) > ... 11 more{code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira