Solution
In CAT/opt/storm-0.8.2/CONF/storm. yaml, find the directory set by storm. Local. dir, and back up the supervisor and workers folders,#nohup supervise /service/storm/ &
Restart
The error is as follows:
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. eventeventmanagerfn3058. 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 --