kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sa Li <sal...@gmail.com>
Subject java.io.IOException: Connection reset by peer
Date Wed, 07 Jan 2015 00:18:07 GMT
Hi, All

I am running a C# producer to send messages to kafka (3 nodes cluster), but
have such errors:

[2015-01-06 16:09:51,143] ERROR Closing socket for /10.100.70.128 because
of error (kafka.network.Processor)
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:197)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
        at kafka.utils.Utils$.read(Utils.scala:380)
        at
kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
        at kafka.network.Processor.read(SocketServer.scala:444)
        at kafka.network.Processor.run(SocketServer.scala:340)
        at java.lang.Thread.run(Thread.java:745)
[2015-01-06 16:09:51,144] ERROR Closing socket for /10.100.70.128 because
of error (kafka.network.Processor)
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:197)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
        at kafka.utils.Utils$.read(Utils.scala:380)
        at
kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
        at kafka.network.Processor.read(SocketServer.scala:444)
        at kafka.network.Processor.run(SocketServer.scala:340)
        at java.lang.Thread.run(Thread.java:745)
[2015-01-06 16:09:56,138] INFO Closing socket connection to /10.100.70.28.
(kafka.network.Processor)
[2015-01-06 16:10:07,685] INFO Closing socket connection to /10.100.70.28.
(kafka.network.Processor)
[2015-01-06 16:10:31,423] INFO Closing socket connection to /10.100.70.28.
(kafka.network.Processor)
[2015-01-06 16:11:08,077] INFO Closing socket connection to /10.100.70.28.
(kafka.network.Processor)
[2015-01-06 16:11:43,990] INFO Closing socket connection to /10.100.70.28.
(kafka.network.Processor)
[2015-01-06 16:12:24,168] INFO Closing socket connection to /10.100.70.128.
(kafka.network.Processor)

But I do see messages in brokers. Any ideas?

thanks


-- 

Alec Li

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message