cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-7699) org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException
Date Tue, 05 Aug 2014 22:15:13 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams resolved CASSANDRA-7699.
-----------------------------------------

    Resolution: Not a Problem

You have corruption, 1746 bytes is probably not large enough to be an sstable in normal conditions.
 Remove the sstable and run repair to correct it, and check your hardware to prevent it.

> org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7699
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7699
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Production environment
>            Reporter: Pankaj Malhotra
>            Priority: Minor
>
> Currently I am getting following exception, it is not happening everytime, but after
sometimes this error keeps on popping up, due to which we are not able to do anything.
> Once we drop keyspace, exception given below goes away.
> We are using 2 nodes with replication factor of 2.
> [cqlsh 4.1.0 | Cassandra 2.0.4 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
> Let me know, if you need configuration from our side.
> Exception:--
> ERROR [ReadStage:104] 2014-08-05 14:09:25,392 CassandraDaemon.java (line 187) Exception
in thread Thread[ReadStage:104,5,main]
> java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException:
java.io.EOFException: EOF after 1746 bytes out of 65535
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1935)
>         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:744)
> Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException:
EOF after 1746 bytes out of 65535
>         at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:82)
>         at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:65)
>         at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:42)
>         at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:167)
>         at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62)
>         at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:250)
>         at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:53)
>         at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1516)
>         at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1335)
>         at org.apache.cassandra.db.Keyspace.getRow(Keyspace.java:327)
>         at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:65)
>         at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1396)
>         at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1931)
>         ... 3 more
> Caused by: java.io.EOFException: EOF after 1746 bytes out of 65535
>         at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:392)
>         at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:382)
>         at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:70)
>         ... 15 more
> ERRO



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

Mime
View raw message