0
我試圖在m Windows 7 64位機器上設置apache風暴。 我的配置如下 -Storm ui錯誤:org.apache.storm.utils.NimbusLeaderNotFoundException:無法從種子主機中找到領導者靈氣[localhost]
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.建立ENV變量 2. zkServer.sh開始 3. storm nimbus 4. storm supervisor 5. storm ui 6.導航到URL:localhost:8090/
我得到這個錯誤作爲內部服務器錯誤的風暴UI:
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職位幾乎所有的解決方案
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有以下錯誤,遺憾的是,他們都沒有爲我工作。可能是什麼問題?
@風暴專家任何線索? –
您確認zookeeper已啓動並正在運行嗎?該錯誤表明風暴試圖與本地主機上的動物園管理員通話:2181並且拒絕連接。 –