2
我克隆了apache風暴啓動器項目並試圖在本地集羣模式下運行ExclamationTopology。運行apache風暴拓撲時出現「無法刪除文件stormconf.ser」錯誤
收到以下異常 -
java.io.IOException: Unable to delete file: C:\Temp1\e6ea8e8f-58fd-4290-80b1-ac34c7bb5b34\supervisor\tmp\7144480c-3faf-4719-b930-617a414a2095\stormconf.ser
at org.apache.storm.shade.org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at org.apache.storm.shade.org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at org.apache.storm.shade.org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at org.apache.storm.shade.org.apache.commons.io.FileUtils.moveDirectory(FileUtils.java:2756) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at backtype.storm.daemon.supervisor$fn__7645.invoke(supervisor.clj:1133) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at clojure.lang.MultiFn.invoke(MultiFn.java:243) ~[clojure-1.7.0.jar:?]
at backtype.storm.daemon.supervisor$mk_synchronize_supervisor$this__7371.invoke(supervisor.clj:565) ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at backtype.storm.event$event_manager$fn__6939.invoke(event.clj:40) [storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
at java.lang.Thread.run(Thread.java:780) [?:1.7.0]
24497 [Thread-18] ERROR b.s.util - Halting process: ("Error when processing an event")
java.lang.RuntimeException: ("Error when processing an event")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:341) [storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.7.0.jar:?]
at backtype.storm.event$event_manager$fn__6939.invoke(event.clj:48) [storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
at java.lang.Thread.run(Thread.java:780) [?:1.7.0]
我使用0.11.0版本的風暴。我提到一些其他的職位 - Storm cluster shutdown in Eclipse
https://github.com/nathanmarz/storm/pull/102
Twitter storm example running in local mode cannot delete file
但沒有爲我工作。試圖評論關閉的部分。這個功能也起作用。
有沒有其他解決方案來解決這個問題?在此先感謝您的幫助!
不... Dint找到它 –
我也遇到了同樣的問題,您是否設法找到解決方案? – user2392965