Thanks for answering Prashanth. Yes I think I am running the topology in local mode.
I have attached my pom.xml. I managed to fix the error I had. After I completed my HelloWorldTopology and also compiled it with maven. After compiling I got the message: build success. But I am not sure what is happening now and if my topology really works. To create the topology I used the instructions from storm CookBook. Could you please tell me how I will see that my topology is actually working? Thank you a lot! *Dimitri Chachlakis* 2014-10-20 22:44 GMT+03:00 Babu, Prashanth <[email protected]>: > Hi Dimitri, > > > > I assume you are running the Storm topology in local mode. > > Can you show us the error message(s) you see on the console and also > contents of your pom.xml? > > > > Regards, > > Prashanth. > > > > *From:* Dimitri Chachlakis [mailto:[email protected]] > *Sent:* 20 October 2014 17:12 > *To:* [email protected] > *Subject:* Help // Installing storm on ubuntu > > > > Hello folks, > > > > I am sorry if my question might sound silly but I am totally new to this > and I am trying to find my way so any help would be much appreciated. > > > > I am trying to install storm in Ubuntu. > > > > I have installed : > > > > Java SDK 1.7 > > Git > > Maven 3.2.3 > > Virtual box > > Puppet > > Vagrant > > > > Finally I Installed Eclipse. > > > > Then through command line I am trying to create my first storm topology: > HelloWorld Topology. > > > > To do that I have created my pom.xml file and then I running the command > mvn eclipse:eclipse. When I do that I can see that a lot of files are > being downloaded but at some point I am getting the error that storm was > not found or missing pom for storm and I am really stuck there. > > > > Can somebody help me get through this so I can have my tools fully > installed and then explore the world of Storm? > > > > > > Thanks a million. > > > > Dimitri > > > > > ------------------------------ > > <http://www.avast.com/> > > Αυτό το email είναι απαλλαγμένο από ιούς και κακόβουλο λογισμικό, επειδή η > προστασία avast! Antivirus <http://www.avast.com/> είναι ενεργή. > > > > ______________________________________________________________________ > Disclaimer: This email and any attachments are sent in strictest confidence > for the sole use of the addressee and may contain legally privileged, > confidential, and proprietary data. If you are not the intended recipient, > please advise the sender by replying promptly to this email and then delete > and destroy this email and any attachments without any further use, copying > or forwarding. >
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>storm.cookbook</groupId> <artifactId>hello-world</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>hello-world</name> <url>https://bitbucket.org/[user]/hello-world</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>github-releases</id> <url>http://oss.sonatype.org/content/repositories/github-releases/</url> </repository> <repository> <id>clojars.org</id> <url>http://clojars.org/repo</url> </repository> <repository> <id>twitter4j.org</id> <url>http://twitter4j.org/maven2</url> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>storm</groupId> <artifactId>storm</artifactId> <version>0.8.1</version> <!-- keep storm out of the jar-with-dependencies --> <scope>provided</scope> </dependency> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>clj-http</groupId> <artifactId>clj-http</artifactId> <version>0.4.1</version> </dependency> <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-core</artifactId> <version>4.0.2</version> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </dependency> </dependencies> <build> <plugins> <!-- bind the maven-assembly-plugin to the package phase this will create a jar file without the Storm dependencies suitable for deployment to a cluster. --> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass></mainClass> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.theoryinpractise</groupId> <artifactId>clojure-maven-plugin</artifactId> <version>1.3.23</version> <extensions>true</extensions> <configuration> <sourceDirectories> <sourceDirectory>src/clj</sourceDirectory> </sourceDirectories> </configuration> <executions> <execution> <id>compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>test</id> <phase>test</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> </project>
