Re为什么运行老是Failed to get master from ZK呢.本地模式可以运行
HELP ME!!!!!!!!!!!!!!!!!!!!!!
Fail to run nimbus
java.lang.IllegalStateException: instance must be started before calling this method
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.j
ar:na]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.getChildren(CuratorFrameworkImpl.
java:390) ~[curator-framework-2.5.0.jar:na]
at com.alibaba.jstorm.zk.Zookeeper.getChildren(Zookeeper.java:184) ~[jstorm-core-2.1.1.jar:
na]
at com.alibaba.jstorm.cluster.DistributedClusterState.get_children(DistributedClusterState.
java:130) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.cluster.StormZkClusterState.active_storms(StormZkClusterState.java:32
9) ~[jstorm-core-2.1.1.jar:na]
-------------------------
Re为什么运行老是Failed to get master from ZK呢.本地模式可以运行
[ERROR 2016-06-19 19:51:12 c.a.j.d.n.NimbusServer:137 main] Fail to run nimbus
java.lang.IllegalStateException: instance must be started before calling this method
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.j
ar:na]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.getChildren(CuratorFrameworkImpl.
java:390) ~[curator-framework-2.5.0.jar:na]
at com.alibaba.jstorm.zk.Zookeeper.getChildren(Zookeeper.java:184) ~[jstorm-core-2.1.1.jar:
na]
at com.alibaba.jstorm.cluster.DistributedClusterState.get_children(DistributedClusterState.
java:130) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.cluster.StormZkClusterState.active_storms(StormZkClusterState.java:32
9) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.daemon.nimbus.NimbusUtils.cleanupCorruptTopologies(NimbusUtils.java:2
90) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.daemon.nimbus.NimbusServer.init(NimbusServer.java:168) [jstorm-core-2
.1.1.jar:na]
at com.alibaba.jstorm.daemon.nimbus.NimbusServer.launchServer(NimbusServer.java:132) [jstor
m-core-2.1.1.jar:na]
at com.alibaba.jstorm.daemon.nimbus.NimbusServer.main(NimbusServer.java:95) [jstorm-core-2.
1.1.jar:na]
[INFO 2016-06-19 19:51:12 c.a.j.d.n.NimbusServer:295 main] Notify to quit nimbus
[INFO 2016-06-19 19:51:12 c.a.j.d.n.NimbusServer:142 main] Quit nimbus