开发者社区> 问答> 正文

为什么运行老是Failed to get master from ZK呢.本地模式可以运行


为什么运行老是Failed to get master from ZK呢.本地模式可以运行



HELP ME!!!!!!!!!!!!!!!!!!!!!!Fail to run nimbusjava.lang.IllegalStateException: instance must be started before calling this method        at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-16.0.1.jar: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:329) ~[jstorm-core-2.1.1.jar:na]

展开
收起
小金子 2016-06-20 11:28:21 4780 0
1 条回答
写回答
取消 提交回答
  • Re为什么运行老是Failed to get master from ZK呢.本地模式可以运行
    zk 启了没有
    2016-06-20 17:10:53
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Getting Ready to Use Redis with Apache Spark 立即下载
《基于 Service Worker 实现在线代理》 立即下载
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service 立即下载

相关实验场景

更多