Ich versuche, Apache Sturm auf Windows 7 64-Bit-Maschine einzurichten. Meine Konfigurationen sind als folgt-Storm ui Fehler: org.apache.storm.utils.NimbusLeaderNotFoundException: Konnte nimbus nicht von Seed-Hosts [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
Schritte I followed- 1. env Variablen Einrichtung 2. zkServer.sh starten 3. storm nimbus 4. storm supervisor 5. storm ui 6. Navigieren Sie zu URL: localhost: 8090/
Ich erhalte diesen Fehler als Interner Serverfehler auf Sturm 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 Fehler folgende
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)
ich fast alle Lösungen versucht, auf ähnliche Beiträge Stackoverflow bereitgestellt, leider keiner von ihnen arbeitet für mich. Was könnte das Problem sein?
@Storm Experten irgendwelche führt? –
Haben Sie bestätigt, dass der Tierpfleger aktiv ist? Der Fehler zeigt an, dass storm versucht, mit dem Tierpfleger auf localhost: 2181 zu sprechen und die Verbindung abgewiesen wird. –