Could not find leader nimbus from seed hosts

org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts [localhost]. Did you specify a valid list of nimbus hosts for config nimbus.seeds?

有几个可能的原因:

  • storm非正常关闭导致有些tmp文件
    解决办法:删除zk下的storm节点, 删除storm-data文件夹
  • (踩过的坑)本地hostname,dns有问题,导致InetAddress.getLocalhost().getXXX返回其他地址注册到了zk上面。
    解决办法:更改/etc/hosts, 去掉没用的配置,并执行/etc/init.d/dnsmasq restart
    原文作者:Yo咯咯哒
    原文地址: https://www.jianshu.com/p/f4a7015aa443
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞