Hello Storm Gurus: I am trying to get the storm-starter ³tutorial² working on my machine.
But I¹m obviously going about it the wrong way . Is the starter only for code reference but will not build? Or am I only supposed https://github.com/apache/incubator-storm/tree/master/examples/storm-starter First I downloaded and entered the directory by issuing the command: git clone git://github.com/apache/incubator-storm.git && cd incubator-storm/examples/storm-starter Then I attempted to make an eclipse project out of it: mvn eclipse:eclipse When I did this, I observed a maven build error: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.577s [INFO] Finished at: Thu Apr 17 09:56:28 CDT 2014 [INFO] Final Memory: 16M/104M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process (default) on project storm-starter: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing: [ERROR] ---------- [ERROR] 1) org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.apache.storm -DartifactId=storm-core -Dversion=0.9.2-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.storm -DartifactId=storm-core -Dversion=0.9.2-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT [ERROR] 2) org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT [ERROR] [ERROR] ---------- [ERROR] 1 required artifact is missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] central (http://repo1.maven.org/maven2/, releases=true, snapshots=false), [ERROR] clojars (https://clojars.org/repo/, releases=true, snapshots=true), [ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Is this doable? I wanted to be able to run this in my eclipse debugger . Similarily, attempting to package storm with maven using the command: mvn package Yields the error: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.475s [INFO] Finished at: Thu Apr 17 10:01:02 CDT 2014 [INFO] Final Memory: 8M/114M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project storm-starter: Could not resolve dependencies for project org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT: Failure to find org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT in https://clojars.org/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of clojars has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExcepti on Attempting to execute the WordCountTopology (mvn compile exec:java -Dstorm.topology=storm.starter.WordCountTopology) gives the error: [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.apache.storm:storm:0.9.2-incubating-SNAPSHOT, /Users/scottccote/git/incubator-storm/pom.xml, line 653, column 21 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ org.apache.storm:storm:0.9.2-incubating-SNAPSHOT, /Users/scottccote/git/incubator-storm/pom.xml, line 619, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building storm-starter 0.9.2-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.477s [INFO] Finished at: Thu Apr 17 10:05:44 CDT 2014 [INFO] Final Memory: 8M/114M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project storm-starter: Could not resolve dependencies for project org.apache.storm:storm-starter:jar:0.9.2-incubating-SNAPSHOT: Failure to find org.apache.storm:storm-core:jar:0.9.2-incubating-SNAPSHOT in https://clojars.org/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of clojars has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExcepti on Here is my configuration/env info: Scotts-MacBook-Air:storm-starter scottccote$ java -version java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode) Scotts-MacBook-Air:storm-starter scottccote$ uname -a Darwin Scotts-MacBook-Air.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64 Thanks in advance for help. SCott
