异步循环死了! org.zeromq.ZMQException

时间:2015-10-12 08:07:56

标签: apache-storm topology apache-zookeeper

我在工作日志文件中有这个,我该如何解决?

[ERROR] Async loop died! org.zeromq.ZMQException:
Address already in use(0x62)
at org.zeromq.ZMQ$Socket.bind(Native Method)
at zilch.mq$bind.invoke(mq.clj:69)
at backtype.storm.messaging.zmq.ZMQContext.bind(zmq.clj:57)at backtype.storm.messaging.loader$launch_receive_thread_BANG_$fn__1629.invoke(loader.clj:26)
at backtype.storm.util$async_loop$fn__465.invoke(util.clj:375)
at clojure.lang.AFn.run(AFn.java:24) at java.lang.Thread.run(Unknown Source)

和主管

still hasn't start 
在ui没有emit

的鲸鱼喷水

执行启动命令后的工作日志文件

 ERROR] Error on initialization of server mk-worker
 java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at backtype.storm.util$touch.invoke(util.clj:432)
at backtype.storm.daemon.worker$fn__4348$exec_fn__1228__auto____4349.invoke(worker.clj:331)
at clojure.lang.AFn.applyToHelper(AFn.java:185)
at clojure.lang.AFn.applyTo(AFn.java:151)
at clojure.core$apply.invoke(core.clj:601)
at backtype.storm.daemon.worker$fn__4348$mk_worker__4404.doInvoke(worker.clj:323)
at clojure.lang.RestFn.invoke(RestFn.java:512)
at backtype.storm.daemon.worker$_main.invoke(worker.clj:433)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.AFn.applyTo(AFn.java:151)
at backtype.storm.daemon.worker.main(Unknown Source)
 INFO] Halting process: ("Error on initialization")

重启风暴后发生的事情

1- i tried to kill the topology 
2- remove what storm-local folder contain
3- restart connect nimbus and supervisor 

我现在的结果

1- some executors in nimbus not alive and trying to clean up the topology

2-主管有此消息

[ERROR] Error when processing event java.io.FileNotFoundException:
File does not exist: storm-local/workers/361c029c-b9c5-4ca7-    
 bced-f8ea084d45a3/heartbeats "/1444899266048 

3-工作日志文件

"worker 361c029c-b9c5-4ca7-bced-f8ea084d45a3 for storm topology name on  

 9d05b304-6bb5-497e-85b3-656eb82fb37e:6704 has finished loading 
 2015-10-15 10:50:46 executor [INFO] Deactivating spout spout0:(57) "

1 个答案:

答案 0 :(得分:0)

似乎端口不是免费的。确保没有其他进程/服务使用该端口或重新配置Storm以使用其他端口。

要更改端口,您需要编辑conf/storm.yaml文件(最好在每台运行主管的计算机上)。与defaults.yaml进行比较以找到正确的参数名称。

第二个错误似乎与本地Storm tmp目录有关。尝试关闭群集,清除此目录,然后重新启动Storm。