cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7312) sstable2json fails with FSReadError
Date Wed, 30 Jul 2014 16:24:39 GMT

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

Michael Shuler commented on CASSANDRA-7312:
-------------------------------------------

That would suggest to me that the node may have filesystem corruption or disk issues. The
system logs may reconcile that hunch.

> sstable2json fails with FSReadError
> -----------------------------------
>
>                 Key: CASSANDRA-7312
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7312
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Charles Sibbald
>
> {code}
> /apps/cassandra/bin/sstable2json /apps/data/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-32-Data.db
> /tmp/test1.json
> ERROR 13:08:07,047 Error in ThreadPoolExecutor
> FSReadError in /apps/data/cassandra/data/mykeyspace/householdparentalcontrol/mykeyspace-householdparentalcontrol-ic-32-Index.db
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:417)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
> 	at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:273)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	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:745)
> Caused by: java.io.IOException: Channel not open for writing - cannot extend file to
required size
> 	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:851)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
> 	... 10 more
> Exception in thread "main" FSReadError in /apps/data/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-32-Index.db
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:417)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:147)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:139)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:422)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:435)
> 	at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:517)
> Caused by: java.io.IOException: Channel not open for writing - cannot extend file to
required size
> 	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:851)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
> 	... 9 more
> {code}
> {code}
> FSReadError in /apps/data/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-32-Index.db
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:417)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
> 	at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:273)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	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:745)
> Caused by: java.io.IOException: Channel not open for writing - cannot extend file to
required size
> 	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:851)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
> 	... 10 more
> Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException:
/apps/data/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-330-Index.db
(No such file or directory)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:126)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:114)
> 	at org.apache.cassandra.io.sstable.SSTableReader.buildSummary(SSTableReader.java:426)
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:415)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:147)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:139)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:422)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:435)
> 	at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:517)
> Caused by: java.io.FileNotFoundException: /apps/data/cassandra/data/mykeyspace/mycolumnfamily/mykeyspace-mycolumnfamily-ic-330-Index.db
(No such file or directory)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
> 	at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:67)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:122)
> 	... 10 more
> {code}
> {code}
>  /apps/cassandra/bin/sstable2json /apps/data/cassandra/data/mykeyspace/householdparentalcontrol/mykeyspace-householdparentalcontrol-ic-30-Data.db
> /tmp/test1.json
> ERROR 13:27:38,514 Error in ThreadPoolExecutor
> FSReadError in /apps/data/cassandra/data/mykeyspacehouseholdparentalcontrol/mykeyspace-householdparentalcontrol-ic-32-Index.db
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:200)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.complete(MmappedSegmentedFile.java:168)
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:417)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:209)
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:157)
> 	at org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:273)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	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:745)
> Caused by: java.io.IOException: Channel not open for writing - cannot extend file to
required size
> 	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:851)
> 	at org.apache.cassandra.io.util.MmappedSegmentedFile$Builder.createSegments(MmappedSegmentedFile.java:192)
> 	... 10 more
> Exception in thread "main" org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.IOException:
dataSize of 8636869765534584099 starting at 32906 would be larger than file /apps/data/cassandra/data/mykeyspacehouseholdparentalcontrol/mykeyspace-householdparentalcontrol-ic-30-Data.db
length 44728
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:167)
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:83)
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:69)
> 	at org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:180)
> 	at org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.next(SSTableScanner.java:155)
> 	at org.apache.cassandra.io.sstable.SSTableScanner.next(SSTableScanner.java:142)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:391)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:422)
> 	at org.apache.cassandra.tools.SSTableExport.export(SSTableExport.java:435)
> 	at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:517)
> Caused by: java.io.IOException: dataSize of 8636869765534584099 starting at 32906 would
be larger than file /apps/data/cassandra/data/mykeyspacehouseholdparentalcontrol/mykeyspace-householdparentalcontrol-ic-30-Data.db
length 44728
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.<init>(SSTableIdentityIterator.java:123)
> 	... 9 more
> {code}



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

Mime
View raw message