首页 > 其他 > 详细

服务器意外重启导致storm报错的问题处理

时间:2014-08-12 16:38:54      阅读:355      评论:0      收藏:0      [点我收藏+]

解决方法

cat /opt/storm-0.8.2/conf/storm.yaml中找到storm.local.dir设定的目录,备份supervisor和workers两个文件夹,#nohup supervise /service/storm/ &重启

错误如下

2014-06-17 12:27:05,267 INFO [main] daemon.supervisor (NO_SOURCE_FILE:invoke(0)) - Starting supervisor with id xxx at host hadoop02
2014-06-17 12:27:05,124 ERROR [Thread-2] storm.event (NO_SOURCE_FILE:invoke(0)) - Error when processing event
java.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.corepartialfn4070.doInvoke(core.clj:2343)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at backtype.storm.eventeventmanagerfn
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 more
2014-06-17 12:27:05,124 INFO [Thread-2] storm.util (NO_SOURCE_FILE:invoke(0)) - Halting process: ("Error when processing an event")

--EOF--

服务器意外重启导致storm报错的问题处理,布布扣,bubuko.com

服务器意外重启导致storm报错的问题处理

原文:http://www.cnblogs.com/buro79xxd/p/3907310.html

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