zoukankan      html  css  js  c++  java
  • Storm因机器断电等,启动supervisor异常

    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

  • 相关阅读:
    [HDU] 1269 迷宫城堡最简单的强连通分支题
    [HDU] 1301 Jungle Roads赤裸裸的最小生成树
    [HDU] 2647 Reward带有贪心算法的拓扑排序
    [HDU] 1181 变形课简单建模后广搜
    【慢慢学Android】:5.短信拦截
    【慢慢学Android】:8.获取所有短信
    ubuntu下设置Android手机驱动
    Win7笔记本变为热点供手机上WiFi
    VS快捷键和小功能
    【慢慢学Android】:11.对话框大全
  • 原文地址:https://www.cnblogs.com/zeng-wei/p/3909500.html
Copyright © 2011-2022 走看看