You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/11/30 06:24:35 UTC

[jira] [Resolved] (CASSANDRA-6424) Millions of Message.java (line 342) Got an IOException in internalRead messages on each node of cluster

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

Jonathan Ellis resolved CASSANDRA-6424.
---------------------------------------

    Resolution: Not A Problem

I imagine for millions of these messages you'd have to be doing something other than just disconnecting on the client side, possibly using Thrift connections in a thread-unsafe manner.

> Millions of Message.java (line 342) Got an IOException in internalRead messages on each node of cluster
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6424
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6424
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Ubuntu server 12.04 , cassandra 2.0.2 & 2.0.3
>            Reporter: Dimetrio
>
> I have millions of this debug messages on all nodes of cassandra cluster. And after it's starts - no one node is working.
> Cassandra restart not solve the problem (but sometimes it can help).
> {{ WARN [Thrift-Selector_6] 2013-11-29 15:42:18,344 Message.java (line 342) Got an IOException in internalRead!
> java.io.IOException: Connection reset by peer
>         at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
>         at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
>         at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
>         at sun.nio.ch.IOUtil.read(IOUtil.java:192)
>         at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
>         at org.apache.thrift.transport.TNonblockingSocket.read(TNonblockingSocket.java:141)
>         at com.thinkaurelius.thrift.util.mem.Buffer.readFrom(Buffer.java:96)
>         at com.thinkaurelius.thrift.Message.internalRead(Message.java:338)
>         at com.thinkaurelius.thrift.Message.read(Message.java:141)
>         at com.thinkaurelius.thrift.TDisruptorServer$SelectorThread.handleRead(TDisruptorServer.java:521)
>         at com.thinkaurelius.thrift.TDisruptorServer$SelectorThread.processKey(TDisruptorServer.java:500)
>         at com.thinkaurelius.thrift.TDisruptorServer$AbstractSelectorThread.select(TDisruptorServer.java:375)
>         at com.thinkaurelius.thrift.TDisruptorServer$AbstractSelectorThread.run(TDisrptorServer.java:339)
>  WARN [Thrift-Selector_2] 2013-11-29 15:42:18,344 Message.java (line 342) Got an IOException in internalRead!
> java.io.IOException:}}



--
This message was sent by Atlassian JIRA
(v6.1#6144)