You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Kjellman (JIRA)" <ji...@apache.org> on 2013/01/11 09:00:18 UTC
[jira] [Comment Edited] (CASSANDRA-5147) NegativeArraySizeException
thrown
[ https://issues.apache.org/jira/browse/CASSANDRA-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550948#comment-13550948 ]
Michael Kjellman edited comment on CASSANDRA-5147 at 1/11/13 7:59 AM:
----------------------------------------------------------------------
the node streaming from the node that threw the NegativeArraySizeException threw an obvious IOException
{code}
java.lang.RuntimeException: java.io.IOException: Broken pipe
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
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:662)
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:405)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:506)
at org.apache.cassandra.streaming.compress.CompressedFileStreamTask.stream(CompressedFileStreamTask.java:90)
at org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:91)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
... 3 more
{code}
was (Author: mkjellman):
now doing the streaming from the node that threw the NegativeArraySizeException threw an obvious IOException
{code}
java.lang.RuntimeException: java.io.IOException: Broken pipe
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
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:662)
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:405)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:506)
at org.apache.cassandra.streaming.compress.CompressedFileStreamTask.stream(CompressedFileStreamTask.java:90)
at org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:91)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
... 3 more
{code}
> NegativeArraySizeException thrown
> ---------------------------------
>
> Key: CASSANDRA-5147
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5147
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0
> Environment: Ubuntu 12.04
> Reporter: Michael Kjellman
> Priority: Critical
>
> {code}
> ERROR [Thread-51] 2013-01-10 23:54:36,718 CassandraDaemon.java (line 133) Exception in thread Thread[Thread-51,5,main]
> java.lang.NegativeArraySizeException
> at org.apache.cassandra.utils.obs.OpenBitSet.<init>(OpenBitSet.java:73)
> at org.apache.cassandra.utils.FilterFactory.createFilter(FilterFactory.java:143)
> at org.apache.cassandra.utils.FilterFactory.getFilter(FilterFactory.java:114)
> at org.apache.cassandra.utils.FilterFactory.getFilter(FilterFactory.java:101)
> at org.apache.cassandra.db.ColumnIndex.<init>(ColumnIndex.java:40)
> at org.apache.cassandra.db.ColumnIndex.<init>(ColumnIndex.java:31)
> at org.apache.cassandra.db.ColumnIndex$Builder.<init>(ColumnIndex.java:74)
> at org.apache.cassandra.io.sstable.SSTableWriter.appendFromStream(SSTableWriter.java:243)
> at org.apache.cassandra.streaming.IncomingStreamReader.streamIn(IncomingStreamReader.java:179)
> at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:122)
> at org.apache.cassandra.net.IncomingTcpConnection.stream(IncomingTcpConnection.java:226)
> at org.apache.cassandra.net.IncomingTcpConnection.handleStream(IncomingTcpConnection.java:166)
> at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:66)
> ERROR [Thread-52] 2013-01-10 23:54:36,718 CassandraDaemon.java (line 133) Exception in thread Thread[Thread-52,5,main]
> java.lang.RuntimeException: java.nio.channels.ClosedChannelException
> at com.google.common.base.Throwables.propagate(Throwables.java:160)
> at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.nio.channels.ClosedChannelException
> at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:236)
> at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:279)
> at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:201)
> at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
> at org.apache.cassandra.streaming.compress.CompressedInputStream$Reader.runMayThrow(CompressedInputStream.java:151)
> at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> ... 1 more
> {code}
--
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