首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 互联网 >

Storm因机器断电等,启动supervisor异常

2013-10-29 
Storm因机器断电等,启动supervisor错误2013-09-24 09:15:44,361 INFO[main] daemon.supervisor (NO_SOURCE

Storm因机器断电等,启动supervisor错误
2013-09-24 09:15:44,361 INFO [main] daemon.supervisor (NO_SOURCE_FILE:invoke(0)) - Starting supervisor with id 74332654-8925-48a1-b67b-7eacaa52aeca at host hadoop022013-09-24 09:15:45,246 ERROR [Thread-2] storm.event (NO_SOURCE_FILE:invoke(0)) - 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:28) at backtype.storm.utils.LocalState.get(LocalState.java:39) at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:187) 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__3058.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:2284) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2753) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:777) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277) at backtype.storm.utils.Utils.deserialize(Utils.java:63) ... 11 more2013-09-24 09:15:45,260 INFO [Thread-2] storm.util (NO_SOURCE_FILE:invoke(0)) - Halting process: ("Error when processing an event")

?

解决办法:

删除storm.yaml中配置的storm.local.dir指向的目录中的supervisor和workers两个目录,再次启动即可。

?

热点排行