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

Andreas Schnitzerling commented on CASSANDRA-9686:
--------------------------------------------------

After applying all patches, the server stops now on corrupted files with 
several exceptions. LEAK ERROR I liked more since the server kept on running. 
Can we not move those files to another directory since the hard-drive is not 
corrupted? Is it necessary to stop on policy "stop" for these errors?
{code:title=system.log}
WARN  [main] 2015-07-13 13:43:49,838 CLibrary.java:72 - JNA link failure, one 
or more native method will be unavailable.
WARN  [main] 2015-07-13 13:43:49,838 StartupChecks.java:148 - 32bit JVM 
detected.  It is recommended to run Cassandra on a 64bit JVM for better 
performance.
WARN  [main] 2015-07-13 13:43:50,048 SigarLibrary.java:167 - Cassandra server 
running in degraded mode. Is swap disabled? : false,  Address space adequate? : 
true,  nofile limit adequate? : true, nproc limit adequate? : true 
ERROR [SSTableBatchOpen:1] 2015-07-13 13:44:07,959 SSTableReader.java:503 - 
Cannot read sstable 
D:\Programme\Cassandra\data\data\logdata\onlinedata\la-115-big=[Data.db, 
Index.db, Filter.db, CompressionInfo.db, Statistics.db, TOC.txt, 
Digest.adler32]; file system error, skipping table
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@18340c2
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@18340c2
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
ERROR [SSTableBatchOpen:1] 2015-07-13 13:44:07,959 FileUtils.java:464 - Exiting 
forcefully due to file system exception on startup, disk failure policy "stop"
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@18340c2
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@18340c2
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
WARN  [main] 2015-07-13 13:44:21,439 CLibrary.java:72 - JNA link failure, one 
or more native method will be unavailable.
WARN  [main] 2015-07-13 13:44:21,439 StartupChecks.java:148 - 32bit JVM 
detected.  It is recommended to run Cassandra on a 64bit JVM for better 
performance.
WARN  [main] 2015-07-13 13:44:21,489 SigarLibrary.java:167 - Cassandra server 
running in degraded mode. Is swap disabled? : false,  Address space adequate? : 
true,  nofile limit adequate? : true, nproc limit adequate? : true 
ERROR [SSTableBatchOpen:1] 2015-07-13 13:44:30,170 SSTableReader.java:503 - 
Cannot read sstable 
D:\Programme\Cassandra\data\data\logdata\onlinedata\la-115-big=[Index.db, 
Filter.db, CompressionInfo.db, TOC.txt, Data.db, Statistics.db, 
Digest.adler32]; file system error, skipping table
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@1ec3e42
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@1ec3e42
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
ERROR [SSTableBatchOpen:1] 2015-07-13 13:44:30,170 FileUtils.java:464 - Exiting 
forcefully due to file system exception on startup, disk failure policy "stop"
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@1ec3e42
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@1ec3e42
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
WARN  [main] 2015-07-13 13:44:53,400 CLibrary.java:72 - JNA link failure, one 
or more native method will be unavailable.
WARN  [main] 2015-07-13 13:44:53,410 StartupChecks.java:148 - 32bit JVM 
detected.  It is recommended to run Cassandra on a 64bit JVM for better 
performance.
WARN  [main] 2015-07-13 13:44:53,450 SigarLibrary.java:167 - Cassandra server 
running in degraded mode. Is swap disabled? : false,  Address space adequate? : 
true,  nofile limit adequate? : true, nproc limit adequate? : true 
ERROR [SSTableBatchOpen:2] 2015-07-13 13:45:02,611 SSTableReader.java:503 - 
Cannot read sstable 
D:\Programme\Cassandra\data\data\logdata\onlinedata\la-115-big=[Index.db, 
Filter.db, CompressionInfo.db, TOC.txt, Data.db, Statistics.db, 
Digest.adler32]; file system error, skipping table
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@310c8b
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@310c8b
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
ERROR [SSTableBatchOpen:2] 2015-07-13 13:45:02,611 FileUtils.java:464 - Exiting 
forcefully due to file system exception on startup, disk failure policy "stop"
org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file with 
0 chunks encountered: java.io.DataInputStream@310c8b
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:695)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:656)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:450)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:356)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at 
org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:493)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
[na:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
[na:1.7.0_55]
        at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
java.io.DataInputStream@310c8b
        at 
org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
 ~[apache-cassandra-2.2.0-rc2-SNAPSHOT.jar:2.2.0-rc2-SNAPSHOT]
        ... 15 common frames omitted
{code}

> FSReadError and LEAK DETECTED after upgrading
> ---------------------------------------------
>
>                 Key: CASSANDRA-9686
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9686
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows-7-32 bit, 3.2GB RAM, Java 1.7.0_55
>            Reporter: Andreas Schnitzerling
>            Assignee: Stefania
>             Fix For: 2.1.x, 2.2.x
>
>         Attachments: cassandra.bat, cassandra.yaml, 
> compactions_in_progress.zip, sstable_activity.zip, system.log
>
>
> After upgrading one of 15 nodes from 2.1.7 to 2.2.0-rc1 I get FSReadError and 
> LEAK DETECTED on start. Deleting the listed files, the failure goes away.
> {code:title=system.log}
> ERROR [SSTableBatchOpen:1] 2015-06-29 14:38:34,554 
> DebuggableThreadPoolExecutor.java:242 - Error in ThreadPoolExecutor
> org.apache.cassandra.io.FSReadError: java.io.IOException: Compressed file 
> with 0 chunks encountered: java.io.DataInputStream@1c42271
>       at 
> org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:178)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:117)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:86)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:142)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:101)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.util.SegmentedFile$Builder.complete(SegmentedFile.java:178)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:681)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:644)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:443)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:350)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at 
> org.apache.cassandra.io.sstable.format.SSTableReader$4.run(SSTableReader.java:480)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
> ~[na:1.7.0_55]
>       at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.7.0_55]
>       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
> [na:1.7.0_55]
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
> [na:1.7.0_55]
>       at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
> Caused by: java.io.IOException: Compressed file with 0 chunks encountered: 
> java.io.DataInputStream@1c42271
>       at 
> org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:174)
>  ~[apache-cassandra-2.2.0-rc1.jar:2.2.0-rc1]
>       ... 15 common frames omitted
> ERROR [Reference-Reaper:1] 2015-06-29 14:38:34,734 Ref.java:189 - LEAK 
> DETECTED: a reference 
> (org.apache.cassandra.utils.concurrent.Ref$State@3e547f) to class 
> org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@1926439:D:\Programme\Cassandra\data\data\system\compactions_in_progress\system-compactions_in_progress-ka-6866
>  was not released before the reference was garbage collected
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to