Hazelcast警告除外

时间:2018-04-19 04:38:42

标签: hazelcast

您好我在我的会员日志中收到此异常。这可能是导致此异常的原因吗?

2018-04-17 15:38:59.734 - WARN --- [hz._hzInstance_1_dev.IO.thread-in-2] com.hazelcast.nio.tcp.TcpIpConnection    : [172.16.42.193]:5701 [dev] [3.9.3] Connection[id=30, /172.16.42.193:5701->/172.16.15.16:54266, endpoint=[172.16.15.16]:5701, alive=false, type=MEMBER] closed. Reason: Exception in Connection[id=30, /172.16.42.193:5701->/172.16.15.16:54266, endpoint=[172.16.15.16]:5701, alive=true, type=MEMBER], thread=hz._hzInstance_1_dev.IO.thread-in-2
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:380)
at com.hazelcast.internal.networking.AbstractChannel.read(AbstractChannel.java:94)
at com.hazelcast.internal.networking.nio.NioChannelReader.handle(NioChannelReader.java:127)
at com.hazelcast.internal.networking.nio.NioThread.handleSelectionKey(NioThread.java:401)
at com.hazelcast.internal.networking.nio.NioThread.handleSelectionKeys(NioThread.java:386)
at com.hazelcast.internal.networking.nio.NioThread.selectLoop(Unknown Source)
at com.hazelcast.internal.networking.nio.NioThread.run(Unknown Source)

1 个答案:

答案 0 :(得分:0)

Connection reset by peer消息实质上意味着另一方关闭了连接,在这种情况下是另一方[172.16.15.16]:5701。你在另一个成员的日志中看到了什么?

这可能是由于强制关机或另一方的非正常关机或网络错误造成的。