Hi,

I guess you are in the wrong directory. Do "mvn package" under
"$STORM_HOME/examples/storm-starter/". Then you can find a jar like
"storm-starter-0.10.0.jar" in the target directory, which should be
uploaded to storm cluster.



-------------------------------
Xiang Wang PhD Candidate
Database Research Group
School of Computer Science and Engineering
The University of New South Wales
Sydney, Australia

On Mon, Mar 14, 2016 at 7:43 AM, vibha goyal <[email protected]> wrote:

> Hi,
>
> I am grad student, and I am working on Storm as a part of my course
> project.
>
> I have cloned the source code from git, and followed the instructions.
>
> I am using branch : 0.10.0
>
> After "mvn package", when I copy the apache-storm-<version>.tar.gz in my
> home,
> untar it and try to run nimbus.
>
> I get error:
>
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at
> org.apache.storm.utils.ConfigUtils.readStormConfigImpl(ConfigUtils.java:138)
> at org.apache.storm.utils.ConfigUtils.readStormConfig(ConfigUtils.java:134)
> at org.apache.storm.command.ConfigValue.main(ConfigValue.java:27)
> Caused by: java.lang.RuntimeException: java.io.IOException: Found multiple
> storm.yaml resources. You're probably bundling the Storm jars with your
> topology jar.
> [jar:file:/home/vgoyal5/apache-storm-2.0.0-SNAPSHOT/lib/storm-core-2.0.0-SNAPSHOT.jar!/storm.yaml,
> file:/home/vgoyal5/apache-storm-2.0.0-SNAPSHOT/conf/storm.yaml]
> at org.apache.storm.utils.Utils.findAndReadConfigFile(Utils.java:372)
> at org.apache.storm.utils.Utils.readStormConfig(Utils.java:456)
> at org.apache.storm.utils.Utils.<clinit>(Utils.java:173)
> ... 3 more
>
>
> I deleted the "/home/vgoyal5/apache-storm-2.0.0-SNAPSHOT/conf/storm.yaml"
> file and again tried.
>
> This time I was able to connect the nimbus and supervisors and could see
> the connections in UI.
>
> As soon as I tried to submit the topology with the command:
>
> storm jar examples/storm-starter/target/storm-starter-2.0.0-SNAPSHOT.jar
> org.apache.storm.starter.ExclamationTopology exclamation-topology
>
> I got error:
>
> org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find
> leader nimbus from seed hosts [sp16-cs525-g05-01.cs.illinois.edu]. Did
> you specify a valid list of nimbus hosts for config nimbus.seeds?
>
> First ,I am not able to resolve this error,
>
> and second, I cannot make changes in storm.yaml as I deleted the
> conf/storm.yaml
>
> I am a beginner in Storm. I have been trying this for a day now. Any help
> would be appreciated!!
>
>
>
> Thanks!
>
> Vibha Goyal
>

Reply via email to