Thanks Aniket problem still persist after mvn clean install for your question do you mean that /home/usr/Storm/storm/storm-starter/src/jvm/storm/starter/ WordCountTopology.java
On Mon, Dec 30, 2013 at 10:25 AM, Aniket Alhat <aniket.al...@gmail.com>wrote: > Don't forget to rename file m2-pom.xml to pom.xml and also post your > directory "tree" structure. I want to check whether your source > WordCountTopology.java exists or not. > > > On Mon, Dec 30, 2013 at 10:52 AM, Aniket Alhat <aniket.al...@gmail.com>wrote: > >> cd Storm >> cd storm >> mvn clean install >> bin/storm jar /home/user/storm/storm-starter.jar >> "storm.starter.WordCountTopology" >> On Dec 30, 2013 4:41 AM, "researcher cs" <prog.researc...@gmail.com> >> wrote: >> >>> Thanks >>> *Abhishek but i'm still until now have problem to find or load main >>> class when i wrote this command *user@ubuntu:~/Storm/storm$ bin/storm >>> jar /home/user/storm/storm-starter.jar >>> storm.starter.WordCountTopologywordcount !! >>> >>> >>> >>> On Sun, Dec 29, 2013 at 10:17 AM, Abhishek Bhattacharjee < >>> abhishek.bhattacharje...@gmail.com> wrote: >>> >>>> It seems at the first try the .jar file was not created and that is why >>>> the class file could not be found. And while submitting the topology you >>>> should submit the whole path(i.e the absolute path of the jar file). >>>> The command mvn -f m2-pom.xml compile exec:java >>>> -Dstorm.topology=storm.starter.WordCountTopology >>>> is used to run the topology. If you just want to build the jar file use >>>> mvn package or lein uberjar. >>>> >>>> The second question about the jar with dependecies , a standalone jar >>>> is a smaller jar and it doesn't have all the class files that are necessary >>>> to run a Topology whereas a jar with dependencies is a much bigger jar with >>>> all the dependencies. But I think from storm perspective you should use the >>>> standalone jar not the jar with dependencies. >>>> I hope this helps. If you find something wrong please revert back. >>>> >>>> Cheers, >>>> *Abhishek Bhattacharjee* >>>> *Pune Institute of Computer Technology* >>>> >>> >>> > > > -- > > *Aniket Alhatlinkedin.com/in/aniketalhat > <http://linkedin.com/in/aniketalhat>* > *+91 976 603 9317* >