首页 > 其他 > 详细

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

时间:2014-08-13 12:18:07      阅读:380      评论:0      收藏:0      [点我收藏+]

Storm因机器断电等,启动supervisor错误

因机器断电或其他异常导致的supervisor意外终止,再次启动时报错:

2014-08-13 10:36:03 b.s.event [ERROR] Error when processing event
java.lang.RuntimeException: java.io.EOFException
        at backtype.storm.utils.Utils.deserialize(Utils.java:69) ~[storm-core-0.9.0.1.jar:na]
        at backtype.storm.utils.LocalState.snapshot(LocalState.java:28) ~[storm-core-0.9.0.1.jar:na]
        at backtype.storm.utils.LocalState.get(LocalState.java:39) ~[storm-core-0.9.0.1.jar:na]
        at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:187) ~[storm-core-0.9.0.1.jar:na]
        at clojure.lang.AFn.applyToHelper(AFn.java:161) [clojure-1.4.0.jar:na]
        at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.4.0.jar:na]
        at clojure.core$apply.invoke(core.clj:603) ~[clojure-1.4.0.jar:na]
        at clojure.core$partial$fn__4070.doInvoke(core.clj:2343) ~[clojure-1.4.0.jar:na]
        at clojure.lang.RestFn.invoke(RestFn.java:397) ~[clojure-1.4.0.jar:na]
        at backtype.storm.event$event_manager$fn__3072.invoke(event.clj:24) ~[storm-core-0.9.0.1.jar:na]
        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.4.0.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
Caused by: java.io.EOFException: null
        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325) ~[na:1.7.0_67]
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2794) ~[na:1.7.0_67]
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801) ~[na:1.7.0_67]
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299) ~[na:1.7.0_67]
        at backtype.storm.utils.Utils.deserialize(Utils.java:64) ~[storm-core-0.9.0.1.jar:na]
        ... 11 common frames omitted

解决办法:

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

转自:http://www.dcsn123.com/html/exception/190/190328_190324_190325.htm

Storm因机器断电等,启动supervisor异常,布布扣,bubuko.com

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

原文:http://www.cnblogs.com/zeng-wei/p/3909500.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!