cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6411) Issue with reading from sstable
Date Tue, 29 Jul 2014 19:48:40 GMT

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

Tyler Hobbs commented on CASSANDRA-6411:
----------------------------------------

I saw what appears to be the same issue with 2.1.0rc4:

{noformat}
ERROR [main] 2014-07-29 14:43:58,713 CassandraDaemon.java:472 - Exception encountered during
startup
org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 6823
bytes out of 25441
    at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:77)
~[main/:na]
    at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:65)
~[main/:na]
    at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:42)
~[main/:na]
    at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:179)
~[main/:na]
    at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62)
~[main/:na]
    at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:261)
~[main/:na]
    at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:59)
~[main/:na]
    at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1873)
~[main/:na]
    at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1681)
~[main/:na]
    at org.apache.cassandra.db.DefsTables.serializedColumnFamilies(DefsTables.java:140) ~[main/:na]
    at org.apache.cassandra.db.DefsTables.loadFromKeyspace(DefsTables.java:131) ~[main/:na]
    at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:610)
~[main/:na]
    at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:238) [main/:na]
    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:455) [main/:na]
    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:544) [main/:na]
Caused by: java.io.EOFException: EOF after 6823 bytes out of 25441
    at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:388) ~[main/:na]
    at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:334)
~[main/:na]
    at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:68)
~[main/:na]
    ... 14 common frames omitted
{noformat}

> Issue with reading from sstable
> -------------------------------
>
>                 Key: CASSANDRA-6411
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6411
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>            Reporter: Mike Konobeevskiy
>
> With Cassandra 1.2.5 this happens almost every week. 
> java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException:
java.io.EOFException: EOF after 5105 bytes out of 19815
> 	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:724)
> Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException:
EOF after 5105 bytes out of 19815
> 	at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:91)
> 	at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:68)
> 	at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:44)
> 	at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:101)
> 	at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:68)
> 	at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:274)
> 	at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1357)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1214)
> 	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1126)
> 	at org.apache.cassandra.db.Table.getRow(Table.java:347)
> 	at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:70)
> 	at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1052)
> 	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578)
> 	... 3 more
> Caused by: java.io.EOFException: EOF after 5105 bytes out of 19815
> 	at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:350)
> 	at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:382)
> 	at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:72)
> 	... 16 more
> This is occurring roughly weekly with quite minimal usage.
> Recreation of CF does not help.



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

Mime
View raw message