이벤트를 처리할 때 storm supervisor가 이상하게 꺼진 후 오류가 발생합니다.

3017 단어 stormSupervisor

 
2015-06-06 02:32:42 event [ERROR] 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:24)
        at backtype.storm.utils.LocalState.get(LocalState.java:28)
        at backtype.storm.daemon.supervisor$sync_processes.invoke(supervisor.clj:192)
        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.core$partial$fn__4070.doInvoke(core.clj:2343)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at backtype.storm.event$event_manager$fn__2507.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:2280)
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
        at backtype.storm.utils.Utils.deserialize(Utils.java:63)
        ... 11 more
2015-06-06 02:32:42 event [ERROR] 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:24)
        at backtype.storm.utils.LocalState.get(LocalState.java:28)
        at backtype.storm.daemon.supervisor$mk_synchronize_supervisor$this__4716.invoke(supervisor.clj:277)
        at backtype.storm.event$event_manager$fn__2507.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:2280)
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
        at backtype.storm.utils.Utils.deserialize(Utils.java:63)
        ... 6 more
2015-06-06 02:32:42 util [INFO] Halting process: ("Error when processing an event")

 
http://blog.csdn.net/w13770269691/article/details/38733981
윗글 참고,storm.yaml이storm을 설정하지 않았습니다.local.디렉터리
 
stormjar 패키지에서 defaults.yaml에는 storm이 있습니다.local.dir: "storm-local"
linux에서 bin/storm-local/해결 문제를 비웁니다.
 
./storm supervisor >/dev/null 2>&1 &
 

좋은 웹페이지 즐겨찾기