2012-04-03 63 views
0

我在不同的服務器上有三個節點。它工作正常,但有時在節點重啓它落入這樣一個無限循環:使用Hazelcast啓動時發出的問題(CONCURRENT_MAP_PUT)

INFO 03-04 19:51:32,851 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ======== 
      thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000] 
      targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null 
      ProxyKey {name='t:campaignsClicks', key=null} Re-doing [20] times! c:__hz_Proxies : null 
    INFO 03-04 19:51:37,862 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ======== 
      thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000] 
      targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null 
      ProxyKey {name='t:campaignsClicks', key=null} Re-doing [30] times! c:__hz_Proxies : null 
    INFO 03-04 19:51:42,870 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ======== 
      thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000] 
      targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null 
... and so on infinetely 

重啓沒有幫助。只在hazelcast.xml中禁用網絡並重新啓動所有三個節點。有人知道什麼是錯的嗎?

配置文件:

<hazelcast> 
    <network> 
     <port auto-increment="true">60000</port> 
     <join> 
      <tcp-ip enabled="true"> 
       <interface>10.0.0.107</interface> 
       <hostname>10.0.0.3</hostname> 
       <hostname>10.0.0.9</hostname> 
      </tcp-ip> 
     </join> 
    </network> 
</hazelcast> 
+0

您正在使用哪個Hazelcast版本?您是否看到所有3個節點在日誌中正確加入集羣?這似乎是1.9版本中的一個問題。 – mmdogan 2012-04-04 05:41:38

+0

我也在1.8。*上遇到過這個問題。 目前是 - 我正在使用1.9.4.8。好的,我會嘗試升級。但升級1.8 - > 1.9沒有幫助。所以我對此並不樂觀。 – 2012-04-04 05:48:11

+0

在2.0上,連接層發生了很大變化,很多問題得到解決。 – mmdogan 2012-04-04 06:24:05

回答

1

解決 - 升級到2.0.0 Hazelcast似乎解決這個問題(它尚未出現持續約30天)。