2014-12-02 3 views
2

현재 노드 (예 : ip-2)를 제거하면 간단히 HazelcastInstance.shutdown()이라고 부릅니다. 하지만 여전히 로그에 많은 경고가 표시됩니다.Hazelcast 클러스터를 정상적으로 나가는 방법은 무엇입니까?

[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! 

클러스터에서 노드를 제거하는 더 적절한 방법이 있습니까?

답변

0

권장되는 방법입니다. 로깅이 다소 혼란 스럽습니다.

+1

노드가 방금 죽었을 때와 똑같은 메시지가 표시되기 때문에 혼란 스럽습니다. https://github.com/hazelcast/hazelcast/issues/4223에서 문제를 엽니 다. – ejain

관련 문제