You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Laura Adney (JIRA)" <ji...@apache.org> on 2014/04/30 19:00:22 UTC
[jira] [Created] (CASSANDRA-7118) Exception around IOException
doesnt report file or table getting exception
Laura Adney created CASSANDRA-7118:
--------------------------------------
Summary: Exception around IOException doesnt report file or table getting exception
Key: CASSANDRA-7118
URL: https://issues.apache.org/jira/browse/CASSANDRA-7118
Project: Cassandra
Issue Type: Improvement
Reporter: Laura Adney
Priority: Minor
Saw this in Cassandra version: 1.2.11.2
Run into several situations where an IOException indicates that corruption has occurred. The exception does not provide the sstable or the table name making it very difficult to determine what files are involved.
The request is to update the error/exception to include more relevant table/file information.
Example Exception:
ERROR [ReadStage:146665] 2014-02-25 06:28:18,286 CassandraDaemon.java (line 191) Exception in thread Thread[ReadStage:146665,5,main]
java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException
at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1613)
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
Caused by: java.io.EOFException
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:446)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:424)
at org.apache.cassandra.io.util.RandomAccessReader.readBytes(RandomAccessReader.java:380)
at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:392)
at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:355)
at org.apache.cassandra.db.ColumnSerializer.deserializeColumnBody(ColumnSerializer.java:94)
at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:92)
at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:73)
at org.apache.cassandra.db.columniterator.IndexedSliceReader$SimpleBlockFetcher.<init>(IndexedSliceReader.java:477)
at org.apache.cassandra.db.columniterator.IndexedSliceReader.<init>(IndexedSliceReader.java:94)
--
This message was sent by Atlassian JIRA
(v6.2#6252)