我正在尝试在Amazon EC2计算机上运行Hazelcast群集(版本3.0-RC1)。我按照文档中给出的示例进行操作。机器没有形成集群。相反,我收到以下消息:
2013-07-16 17:58:41 com.hazelcast.system 11295 INFO [10.168.30.154]:5701 [hzmap]
Copyright (C) 2008-2013 Hazelcast.com
2013-07-16 17:58:41 com.hazelcast.instance.Node 11302 WARN [10.168.30.154]:5701 [hzmap] com.hazelcast.impl.cluster.TcpIpJoinerOverAWS
2013-07-16 17:58:41 com.hazelcast.core.LifecycleService 11304 INFO [10.168.30.154]:5701 [hzmap] Address[10.168.30.154]:5701 is STARTING
2013-07-16 17:58:41 com.hazelcast.instance.Node 11636 WARN [10.168.30.154]:5701 [hzmap] No join method is enabled! Starting standalone.
2013-07-16 17:58:41 com.hazelcast.core.LifecycleService 11739 INFO [10.168.30.154]:5701 [hzmap] Address[10.168.30.154]:5701 is STARTED
2013-07-16 17:58:42 com.hazelcast.partition.PartitionService 12812 INFO [10.168.30.154]:5701 [hzmap] Initializing cluster partition table first arrangement...
答案 0 :(得分:1)
在RC-2中已经解决了Bug。
答案 1 :(得分:0)
看起来Hazelcast 3.0-RC1中存在一个错误
Node#createJoiner()方法仍然使用TcpIPJoinerAWS类的旧包名。
Class clazz = Class.forName("com.hazelcast.impl.cluster.TcpIpJoinerOverAWS");
相反,此类的当前包名称为:
Class clazz = Class.forName("com.hazelcast.impl.TcpIpJoinerOverAWS");
答案 2 :(得分:0)
这个错误在Hazelcast 3决赛中得到了解决。