Hazelcast:获取群集分区表时出错

时间:2014-06-17 15:39:21

标签: java hazelcast

加载数据时> 50GB到Hazelcast Map我得到这个错误信息非常可重复:

">获取集群分区表时出错#34;

客户端API经常丢失与群集的连接。为什么它会失去连接,并且Hazelcast是否应该透明地重新连接?

Hazelcast客户端API与单个节点群集一起使用。 Hazelcast max map大小:200 GB,具有LRU驱逐策略。 Java MaxHeap大小:400 GB 版本:Hazelcast 3.3

    java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:196)
    at com.hazelcast.client.spi.impl.ClientCallFuture.get(ClientCallFuture.java:116)
    at com.hazelcast.client.spi.impl.ClientCallFuture.get(ClientCallFuture.java:103)
    at com.hazelcast.client.spi.impl.ClientPartitionServiceImpl.getPartitionsFrom(ClientPartitionServiceImpl.java:109)
    at com.hazelcast.client.spi.impl.ClientPartitionServiceImpl.access$300(ClientPartitionServiceImpl.java:43)
    at com.hazelcast.client.spi.impl.ClientPartitionServiceImpl$RefreshTask.run(ClientPartitionServiceImpl.java:79)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
    at java.lang.Thread.run(Thread.java:804)
    at com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:58)

之后

INFO: HazelcastClient[hz.client_6_dev][3.3-EA] is CLIENT_DISCONNECTED
Jun 17, 2014 5:23:01 PM com.hazelcast.client.connection.nio.ClientConnection
WARNING: Connection [null] lost. Reason: Socket explicitly closed
Jun 17, 2014 5:23:01 PM com.hazelcast.nio.TcpIpConnection
INFO: [xxx]:5701 [dev] [3.3-EA] Connection [Address[xxxx]:55496] lost. Reason: java.io.IOException[Broken pipe]
Jun 17, 2014 5:23:01 PM com.hazelcast.nio.TcpIpConnection
INFO: [xxx]:5701 [dev] [3.3-EA] Connection [Address[127.0.0.1]:60751] lost. Reason: java.io.EOFException[Remote socket closed!]
Jun 17, 2014 5:23:01 PM com.hazelcast.client.ClientEngine

0 个答案:

没有答案