storm supervisor启动报错java.lang.RuntimeException: java.io.EOFException

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

    1. 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 hadoop02
    2. 2013-09-24 09:15:45,246 ERROR [Thread-2] storm.event (NO_SOURCE_FILE:invoke(0)) - Error when processing event
    3. java.lang.RuntimeException: java.io.EOFException
    4.         at backtype.storm.utils.Utils.deserialize(Utils.java:68)
    5.         at backtype.storm.utils.LocalState.snapshot(LocalState.java:28)
    6.         at backtype.storm.utils.LocalState.get(LocalState.java:39)
    7.         at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:187)
    8.         at clojure.lang.AFn.applyToHelper(AFn.java:161)
    9.         at clojure.lang.AFn.applyTo(AFn.java:151)
    10.         at clojure.core$apply.invoke(core.clj:603)
    11.         at clojure.core$partial$fn__4070.doInvoke(core.clj:2343)
    12.         at clojure.lang.RestFn.invoke(RestFn.java:397)
    13.         at backtype.storm.event$event_manager$fn__3058.invoke(event.clj:24)
    14.         at clojure.lang.AFn.run(AFn.java:24)
    15.         at java.lang.Thread.run(Thread.java:662)
    16. Caused by: java.io.EOFException
    17.         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2284)
    18.         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2753)
    19.         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:777)
    20.         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
    21.         at backtype.storm.utils.Utils.deserialize(Utils.java:63)
    22.         ... 11 more
    23. 2013-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两个目录,再次启动即可。

时间: 2024-10-09 00:16:15

storm supervisor启动报错java.lang.RuntimeException: java.io.EOFException的相关文章

SpringBoot项目启动报错:java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

.   ____          _            __ _ _ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/  ___)| |_)| | | | | || (_| |  ) ) ) )  '  |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Sprin

解决Android studio 启动报错java.lang.RuntimeException: java.lang.IllegalArgumentException

报错内容 Internal error. Please report to https://code.google.com/p/android/issues java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null 

Android Studio 首次安装报错 Java.lang.RuntimeException:java.lang.NullPointerException...错

下次安装报:Java.lang.RuntimeException: java.lang.NullPointerException......错 只需在文件..\Android Studio\bin\idea.properties(需要对应自己的安装目录下)最后面加一行代码:disable.android.first.run=true  就可以完美解决问题了

resin WED服务器初用遇到的问题和解决方法 java.lang.RuntimeException: java.net.SocketException: Unrecognized Windows Socke ts error: 0: JVM_Bind

开启resin 服务器以后提示如下:(控制台不断的循环循环打印如下错误提示) java.lang.RuntimeException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at com.caucho.server.cluster.Server.start(Server.java:1191) at com.caucho.server.cluster.Cluster.startServer(

出现java.lang.Exception: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.web.visit.main.ClickVist$VisitMapper.&lt;init&gt;()的问题

执行mapreduce报错java.lang.Exception: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.web.visit.main.ClickVist$VisitMapper.<init>(), 原因是map类和reduce没有加static修饰,因为hadoop在调用map和reduce类时采用的反射调用,内部类不是静态的,没有获取到内部类的实例 原文地址:https://www.cnblogs.

严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationT

严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationT (2012-09-23 17:20:13) 转载▼ 标签: struts中jar包 dispatcherinitializa 分类: Struts2 错误提示:严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.

【Android】java.lang.RuntimeException: java.lang.Throwable: A WebView method was called on thread &#39;JavaBridge&#39;.

一.问题 Java调用JS事件出现 java.lang.RuntimeException: java.lang.Throwable: A WebView method was called on thread 'JavaBridge'. All WebView methods must be called on the same thread. (Expected Looper Looper (main, tid 1) {3474c308} called on Looper (JavaBridg

supervisor启动报错

supervisor 启动失败报错 Error: Another program is already listening on a port that one of our HTTP servers is configured to use.  Shut this program down first before starting supervisord. 解决办法: unlink /var/run/supervisor.sock unlink /tmp/supervisor.sock 这个

hive 报错 java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:344) at org.a