目前,当我删除一个节点(例如ip-2)时,我只需调用HazelcastInstance.shutdown()。但是我最后还是在日志中看到了很多警告。
[ip-1]:5701 [xxx] [3.3.3] Removing connection to endpoint Address[ip-2]:5701 Cause => java.net.SocketException {Connection refused to address /ip-2:5701}, Error-Count: 5
[ip-1]:5701 [xxx] [3.3.3] This node does not have a connection to Member [ip-2]:5701
[ip-1]:5701 [xxx] [3.3.3] hz._hzInstance_1_xxx.IO.thread-in-0 Closing socket to endpoint Address[ip-2]:5701, Cause:java.io.EOFException: Remote socket closed!是否有更正确的方法从集群中删除节点?
发布于 2014-12-03 10:38:35
这是推荐的方法。我想日志记录有点混乱。
https://stackoverflow.com/questions/27240533
复制相似问题