Hazelcast Operation Heartbeat Timeouts偶尔出现

时间:2017-02-13 11:23:28

标签: java hazelcast

我们有一个Hazelcast客户端(3.7.4):

//Initializes Hazelcast client config
ClientConfig aHazelcastClientConfig = new ClientConfig();
String aHazelcastUrl = this.getHost()+":"+this.getPort().toString();

ClientNetworkConfig aHazelcastNetworkConfig= 
aHazelcastClientConfig.getNetworkConfig();
aHazelcastNetworkConfig.addAddress(aHazelcastUrl);

GroupConfig group = new  GroupConfig (getGroupName(),getGroupPassword());       
aHazelcastClientConfig.setGroupConfig(group);

HazelcastInstance aHazelcastClient=
HazelcastClient.newHazelcastClient(aHazelcastClientConfig);
...
IMap aMonitoredMap = aHazelcastClient.getMap(getMonitoredMap());

定期检查一个HZ服务器(3.7.4),我们观察到有时下一个异常出现在客户端:

由于operation-heartbeat-timeout,

InitializeDistributedObjectOperation调用未能完成。当前时间:2017-02-07 18:07:30.329总耗时:120189毫秒。最后的操作心跳:从不。上次操作心跳来自会员:2017-02-07 18:05:37.489。调用{op = com.hazelcast.spi.impl.proxyservice.impl.operations.InitializeDistributedObjectOperation {serviceName ='hz:impl:mapService',identityHash = 9759664,partitionId = -1,replicaIndex = 0,callId = 0,invocationTime = 1486487130140 (2017-02-07 18:05:30.140),waitTimeout = -1,callTimeout = 60000},tryCount = 1,tryPauseMillis = 500,invokeCount = 1,callTimeoutMillis = 60000,firstInvocationTimeMs = 1486487130140,firstInvocationTime ='2017-02- 07 18:05:30.140',lastHeartbeatMillis = 0,lastHeartbeatTime ='1970-01-01 01:00:00.000',target = [10.118.152.82]:5720,pendingResponse = {VOID},backupsAcksExpected = 0,backupsAcksReceived = 0 ,connection = Connection [id = 7,/ 172.22.191.200:5720-> 10.118.152.82:42563,endpoint = [10.118.152.82]:5720,alive = true,type = MEMBER]}

似乎达到了最大呼叫等待超时(默认为60000毫秒)。在上面的示例中,总耗用时间超过2分钟(120189 ms)

这个问题偶尔出现,没有任何规律的外观模式。 看起来网络在出现时工作正常,因此我们可以放弃一些网络连接问题。

关于哪些原因可能引发它的任何提示或建议?

非常感谢。

最诚挚的问候, 乔治

0 个答案:

没有答案