cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hanna (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6990) Log ClosedChannelException at DEBUG at shutdown in CompressedRandomAccessReader
Date Mon, 07 Apr 2014 16:31:21 GMT

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

Jeremy Hanna updated CASSANDRA-6990:
------------------------------------

    Summary: Log ClosedChannelException at DEBUG at shutdown in CompressedRandomAccessReader
 (was: Log ClosedChannelException at shutdown in CompressedRandomAccessReader)

> Log ClosedChannelException at DEBUG at shutdown in CompressedRandomAccessReader
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6990
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6990
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jeremy Hanna
>            Priority: Minor
>
> Related to CASSANDRA-5368, there is another spot where we are not catching ClosedChannelException
messages on shutdown.
> The trace is:
> {quote}
> ERROR [Deserialize SSTableReader(path='/data10/cassandra/ks1/cf1/ks1-cf1-ic-246-Data.db')]
2014-04-06 04:01:00,753 CassandraDaemon.java (line 191) Exception in thread Thread[Deserialize
SSTableReader(path='/data10/cassandra/ks1/cf1/ks1-cf1-ic-246-Data.db'),1,main]
> FSReadError in /data10/cassandra/ks1/cf1/ks1-cf1-ic-246-Data.db
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:93)
> 	at org.apache.cassandra.io.compress.CompressedThrottledReader.reBuffer(CompressedThrottledReader.java:45)
> 	at org.apache.cassandra.io.util.RandomAccessReader.read(RandomAccessReader.java:327)
> 	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:756)
> 	at java.io.RandomAccessFile.readLong(RandomAccessFile.java:792)
> 	at org.apache.cassandra.utils.BytesReadTracker.readLong(BytesReadTracker.java:114)
> 	at org.apache.cassandra.db.ColumnSerializer.deserializeColumnBody(ColumnSerializer.java:107)
> 	at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:92)
> 	at org.apache.cassandra.db.ColumnFamilySerializer.deserializeColumnsFromSSTable(ColumnFamilySerializer.java:149)
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:234)
> 	at org.apache.cassandra.db.compaction.ParallelCompactionIterable$Deserializer$1.runMayThrow(ParallelCompactionIterable.java:291)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.nio.channels.ClosedChannelException
> 	at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:88)
> 	at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:243)
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.checksum(CompressedRandomAccessReader.java:140)
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.decompressChunk(CompressedRandomAccessReader.java:127)
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:85)
> 	... 12 more
> {quote}



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

Mime
View raw message