Connection reset by peer
问题:ERROR Closing socket for /120.24.169.139 because of error (kafka.network.Processor) Connection resetby peer [2015-05-08 13:17:52,804] ERROR Closing socket for /120.24.169.139 because of e
·
问题:
ERROR Closing socket for /120.24.169.139 because of error (kafka.network.Processor) Connection reset by peer
[2015-05-08 13:17:52,804] ERROR Closing socket for /120.24.169.139 because of error (kafka.network.Processor)
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
at sun.nio.ch.IOUtil.read(IOUtil.java:171)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:245)
at kafka.utils.Utils$.read(Utils.scala:375)
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
at kafka.network.Processor.read(SocketServer.scala:347)
at kafka.network.Processor.run(SocketServer.scala:245)
at java.lang.Thread.run(Thread.java:662)
原因:
出现这种问题的原因主要是因为客户端异常关闭,而服务端还在发送数据所导致的!
解决方案:
先关闭服务端!再关闭客户端~!
更多推荐
已为社区贡献2条内容
所有评论(0)