Julien Nioche created STORM-2055:
------------------------------------

             Summary: Exception when running topology from Maven exec with Flux
                 Key: STORM-2055
                 URL: https://issues.apache.org/jira/browse/STORM-2055
             Project: Apache Storm
          Issue Type: Bug
          Components: Flux
    Affects Versions: 1.0.2
            Reporter: Julien Nioche


When running a topology from Maven with Flux as a dependency, we get

{code}
11335 [Thread-8] ERROR o.a.s.event - Error when processing event
java.io.FileNotFoundException: Source 
'file:/home/julien/.m2/repository/org/apache/storm/flux-core/1.0.1/flux-core-1.0.1.jar!/resources'
 does not exist
    at 
org.apache.storm.shade.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1368)
 ~[storm-core-1.0.1.jar:1.0.1]
    at 
org.apache.storm.shade.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1261)
 ~[storm-core-1.0.1.jar:1.0.1]
    at 
org.apache.storm.shade.org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1230)
 ~[storm-core-1.0.1.jar:1.0.1]
    at org.apache.storm.daemon.supervisor$fn__9359.invoke(supervisor.clj:1194) 
~[storm-core-1.0.1.jar:1.0.1]
    at clojure.lang.MultiFn.invoke(MultiFn.java:243) ~[clojure-1.7.0.jar:?]
    at 
org.apache.storm.daemon.supervisor$mk_synchronize_supervisor$this__9078$fn__9096.invoke(supervisor.clj:582)
 ~[storm-core-1.0.1.jar:1.0.1]
    at 
org.apache.storm.daemon.supervisor$mk_synchronize_supervisor$this__9078.invoke(supervisor.clj:581)
 ~[storm-core-1.0.1.jar:1.0.1]
    at org.apache.storm.event$event_manager$fn__8630.invoke(event.clj:40) 
[storm-core-1.0.1.jar:1.0.1]
    at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
{code}

The same topology runs fine when executed with Eclipse or via the storm command.

See [https://github.com/DigitalPebble/storm-crawler/issues/324]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to