Hey Tanay, The issue is probably that you need "flux-core" listed as a dependency in your project.clj file for streamparse. See, for example, this project.clj file in the Redis wordcount example in the Github repo.
https://github.com/Parsely/streamparse/blob/master/examples/redis/project.clj#L6-L7 Cheers, -- Andrew Montalenti | CTO, Parse.ly On Fri, Jul 29, 2016 at 4:15 AM, Tanay Soni <[email protected]> wrote: > Hi, > > I am using Apache Storm 1.0.1 on Ubuntu 14.04, where Nimbus, Supervisor, > and ZooKeeper are all running on the same machine. > > I am running the topology as, "storm jar test.jar > org.apache.storm.flux.Flux --local --no-splash --sleep 9223372036854775807 > tmp.yaml" (this command is generated by streamparse > <https://github.com/Parsely/streamparse>). I get the following error > message: > > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/home/ubuntu/apache-storm-1.0.1/lib/log4j-slf4j-impl-2.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > [jar:file:/home/ubuntu/wordcount/_build/wordcount-0.0.1-SNAPSHOT-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > SLF4J: Actual binding is of type > [org.apache.logging.slf4j.Log4jLoggerFactory] > Running: java -client -Ddaemon.name= -Dstorm.options= > -Dstorm.home=/home/ubuntu/apache-storm-1.0.1 > -Dstorm.log.dir=/home/ubuntu/apache-storm-1.0.1/logs > -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib > -Dstorm.conf.file= -cp > /home/ubuntu/apache-storm-1.0.1/lib/disruptor-3.3.2.jar:/home/ubuntu/apache-storm-1.0.1/lib/log4j-over-slf4j-1.6.6.jar:/home/ubuntu/apache-storm-1.0.1/lib/kryo-3.0.3.jar:/home/ubuntu/apache-storm-1.0.1/lib/storm-core-1.0.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/asm-5.0.3.jar:/home/ubuntu/apache-storm-1.0.1/lib/servlet-api-2.5.jar:/home/ubuntu/apache-storm-1.0.1/lib/minlog-1.3.0.jar:/home/ubuntu/apache-storm-1.0.1/lib/log4j-slf4j-impl-2.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/clojure-1.7.0.jar:/home/ubuntu/apache-storm-1.0.1/lib/log4j-api-2.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/objenesis-2.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/reflectasm-1.10.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/slf4j-api-1.7.7.jar:/home/ubuntu/apache-storm-1.0.1/lib/log4j-core-2.1.jar:/home/ubuntu/apache-storm-1.0.1/lib/storm-rename-hack-1.0.1.jar:/home/ubuntu/wordcount/_build/wordcount-0.0.1-SNAPSHOT-standalone.jar:/home/ubuntu/apache-storm-1.0.1/conf:/home/ubuntu/apache-storm-1.0.1/bin > -Dstorm.jar=/home/ubuntu/wordcount/_build/wordcount-0.0.1-SNAPSHOT-standalone.jar > org.apache.storm.flux.Flux --local --no-splash --sleep 9223372036854775807 > /tmp/tmpAAQjzb.yaml > Error: Could not find or load main class org.apache.storm.flux.Flux > > Please let me know if I should provide any more information to reproduce > this. > > Regards. > Tanay >
