当前位置: 代码迷 >> Ruby/Rails >> storm supervisor 错误关机后 不能启动Error when processing event
  详细解决方案

storm supervisor 错误关机后 不能启动Error when processing event

热度:368   发布时间:2016-04-29 02:11:57.0
storm supervisor 异常关机后 不能启动Error when processing event

?

?

2015-06-06 02:32:42 event [ERROR] Error when processing eventjava.lang.RuntimeException: java.io.EOFException        at backtype.storm.utils.Utils.deserialize(Utils.java:68)        at backtype.storm.utils.LocalState.snapshot(LocalState.java:24)        at backtype.storm.utils.LocalState.get(LocalState.java:28)        at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:192)        at clojure.lang.AFn.applyToHelper(AFn.java:161)        at clojure.lang.AFn.applyTo(AFn.java:151)        at clojure.core$apply.invoke(core.clj:603)        at clojure.core$partial$fn__4070.doInvoke(core.clj:2343)        at clojure.lang.RestFn.invoke(RestFn.java:397)        at backtype.storm.event$event_manager$fn__2507.invoke(event.clj:24)        at clojure.lang.AFn.run(AFn.java:24)        at java.lang.Thread.run(Thread.java:662)Caused by: java.io.EOFException        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)        at backtype.storm.utils.Utils.deserialize(Utils.java:63)        ... 11 more2015-06-06 02:32:42 event [ERROR] Error when processing eventjava.lang.RuntimeException: java.io.EOFException        at backtype.storm.utils.Utils.deserialize(Utils.java:68)        at backtype.storm.utils.LocalState.snapshot(LocalState.java:24)        at backtype.storm.utils.LocalState.get(LocalState.java:28)        at backtype.storm.daemon.supervisor$mk_synchronize_supervisor$this__4716.invoke(supervisor.clj:277)        at backtype.storm.event$event_manager$fn__2507.invoke(event.clj:24)        at clojure.lang.AFn.run(AFn.java:24)        at java.lang.Thread.run(Thread.java:662)Caused by: java.io.EOFException        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)        at backtype.storm.utils.Utils.deserialize(Utils.java:63)        ... 6 more2015-06-06 02:32:42 util [INFO] Halting process: ("Error when processing an event")

?

http://blog.csdn.net/w13770269691/article/details/38733981

参考上文章,storm.yaml未配置storm.local.dir目录

?

在storm jar包中 defaults.yaml 有?storm.local.dir: "storm-local"

清空 linux 中 bin/storm-local/ 解决问题。

?

./storm supervisor >/dev/null 2>&1 &

?

?

  相关解决方案