Troubleshooting of storm errors caused by unexpected server restart

Source: Internet
Author: User

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. 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 --

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.