cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cathy Daw (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5088) Major compaction IOException in 1.1.8
Date Wed, 26 Dec 2012 21:50:12 GMT

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

Cathy Daw commented on CASSANDRA-5088:
--------------------------------------

Results from testing v2:
* We originally reproduced this with a forked/modified version of C* 1.1.8 dropped in to DSE.
 When we dropped in the C* 1.1.8 jar file from the apache download, we were also to reproduce
this as well.
* Post-upgrade exception running:  list Stocks
* Post-upgrade exception running: nodetool upgradesstables
* Post-upgrade no errors running: nodetool compact or nodetool scrub

{code}
ERROR [Thrift:3] 2012-12-26 13:42:25,343 AbstractCassandraDaemon.java (line 135) Exception
in thread Thread[Thrift:3,5,main]
java.io.IOError: java.io.IOException: Bad file descriptor
	at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:65)
	at org.apache.cassandra.db.ColumnFamilyStore$2.close(ColumnFamilyStore.java:1411)
	at org.apache.cassandra.db.ColumnFamilyStore.filter(ColumnFamilyStore.java:1490)
	at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1435)
	at org.apache.cassandra.service.RangeSliceVerbHandler.executeLocally(RangeSliceVerbHandler.java:50)
	at org.apache.cassandra.service.StorageProxy.getRangeSlice(StorageProxy.java:876)
	at org.apache.cassandra.thrift.CassandraServer.get_range_slices(CassandraServer.java:703)
	at com.datastax.bdp.server.DseServer.get_range_slices(DseServer.java:1087)
	at org.apache.cassandra.thrift.Cassandra$Processor$get_range_slices.getResult(Cassandra.java:3083)
	at org.apache.cassandra.thrift.Cassandra$Processor$get_range_slices.getResult(Cassandra.java:3071)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
	at com.datastax.bdp.transport.server.ClientSocketAwareProcessor.process(ClientSocketAwareProcessor.java:43)
	at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:192)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: Bad file descriptor
	at sun.nio.ch.FileDispatcher.preClose0(Native Method)
	at sun.nio.ch.FileDispatcher.preClose(FileDispatcher.java:59)
	at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:96)
	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
	at java.io.RandomAccessFile.close(RandomAccessFile.java:541)
	at org.apache.cassandra.io.util.RandomAccessReader.close(RandomAccessReader.java:224)
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.close(CompressedRandomAccessReader.java:131)
	at org.apache.cassandra.io.sstable.SSTableScanner.close(SSTableScanner.java:89)
	at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:61)
{code}

                
> Major compaction IOException in 1.1.8
> -------------------------------------
>
>                 Key: CASSANDRA-5088
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5088
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.8
>            Reporter: Karl Mueller
>         Attachments: 5088.txt, 5088-v2.txt
>
>
> Upgraded 1.1.6 to 1.1.8.
> Now I'm trying to do a major compaction, and seeing this:
> ERROR [CompactionExecutor:129] 2012-12-22 10:33:44,217 AbstractCassandraDaemon.java (line
135) Exception in thread Thread[CompactionExecutor:129,1,RMI Runtime]
> java.io.IOError: java.io.IOException: Bad file descriptor
>         at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:65)
>         at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:195)
>         at org.apache.cassandra.db.compaction.CompactionManager$7.runMayThrow(CompactionManager.java:298)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: Bad file descriptor
>         at sun.nio.ch.FileDispatcher.preClose0(Native Method)
>         at sun.nio.ch.FileDispatcher.preClose(FileDispatcher.java:59)
>         at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:96)
>         at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
>         at java.io.FileInputStream.close(FileInputStream.java:258)
>         at org.apache.cassandra.io.compress.CompressedRandomAccessReader.close(CompressedRandomAccessReader.java:131)
>         at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:121)
>         at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
>         at java.io.RandomAccessFile.close(RandomAccessFile.java:541)
>         at org.apache.cassandra.io.util.RandomAccessReader.close(RandomAccessReader.java:224)
>         at org.apache.cassandra.io.compress.CompressedRandomAccessReader.close(CompressedRandomAccessReader.java:130)
>         at org.apache.cassandra.io.sstable.SSTableScanner.close(SSTableScanner.java:89)
>         at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:61)
>         ... 9 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message