gpt4 book ai didi

apache - Storm ui错误:org.apache.storm.utils.NimbusLeaderNotFoundException:从种子主机[localhost]中找不到领导者雨云

转载 作者:行者123 更新时间:2023-12-02 21:02:43 29 4
gpt4 key购买 nike

我正在尝试在M Windows 7 64位计算机上设置Apache Storm。
我的配置如下-

zoo.cfg

tickTime=2000
initLimit=5
syncLimit=2
dataDir=C:/Server-Local/zookeeper-3.4.9/data
clientPort=2181

Storm.yaml
storm.zookeeper.servers:
- "localhost"
storm.local.dir: "C:/Server-Local/apache-storm-1.0.3/data"
nimbus.host: "localhost"
storm.zookeeper.port: 2181
ui.port: 8090
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703

我遵循的步骤-
1.设置环境变量
2. zkServer.sh启动
3. Storm 雨云
4. Storm 主管
5. Storm UI
6.导航到URL:localhost:8090 /

我在Storm ui上收到此错误作为内部服务器错误:
    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?
at org.apache.storm.utils.NimbusClient.getConfiguredClientAs
(NimbusClient.java:108)
at org.apache.storm.ui.core$all_topologies_summary.invoke(core.clj:434)
at org.apache.storm.ui.core$fn__11360.invoke(core.clj:952)
at

nimbus.log有以下错误
    main-SendThread(0:0:0:0:0:0:0:1:2181) o.a.s.s.o.a.z.ClientCnxn 
[WARN]Session 0x0 for server null, unexpected error,
closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
at org.apache.storm.shade.org.apache.zookeeper.ClientCnxnSocketNIO.
doTransport (ClientCnxnSocketNIO.java:361) at org.apache.storm.shade.org.
apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-03-13 22:00:10.937 main-SendThread(0:0:0:0:0:0:0:1:2181)o.a.s.s.
o.a.z.ClientCnxn [INFO] Opening socket connection
to server 127.0.0.1/127.0.0.1:2181. Will not attempt to
authenticate using SASL (unknown error)

我尝试了在StackOverflow相关文章中提供的几乎所有解决方案,但不幸的是,这些解决方案都不适合我。可能是什么问题?

最佳答案

请尝试单独重启您的nimbus机器。它不需要重新启动任何在Storm或任何 super 服务器中运行的处理器,而仅需要重新启动Stormnmbus。

或检查您的主机条目,您可能没有在所有 Storm 群集中都有主机条目。如果您使用DNS服务器解析主机名,请删除主机条目,并在storm.yaml文件中所有nimbus.seeds属性中使用DNS名称。

关于apache - Storm ui错误:org.apache.storm.utils.NimbusLeaderNotFoundException:从种子主机[localhost]中找不到领导者雨云,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42770469/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com