Repository: storm Updated Branches: refs/heads/master 4b672dedc -> aff470495
Remove broken example from the tutorial The tutorial code was broken giving an error. See http://stackoverflow.com/questions/34467446/apache-storm-classnotfoundexception-on-storm-starter. I did not alter example 2 because I have not verified that alteration. Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/0cf9ee96 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/0cf9ee96 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/0cf9ee96 Branch: refs/heads/master Commit: 0cf9ee960d1ee67cf977c7d6b96f86a2b2307c52 Parents: b7ba063 Author: Seth Ammons <[email protected]> Authored: Sat Dec 26 06:26:09 2015 -0800 Committer: Seth Ammons <[email protected]> Committed: Sat Dec 26 06:26:09 2015 -0800 ---------------------------------------------------------------------- examples/storm-starter/README.markdown | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/0cf9ee96/examples/storm-starter/README.markdown ---------------------------------------------------------------------- diff --git a/examples/storm-starter/README.markdown b/examples/storm-starter/README.markdown index f6c97ba..05d2da5 100644 --- a/examples/storm-starter/README.markdown +++ b/examples/storm-starter/README.markdown @@ -72,23 +72,6 @@ the Maven command to build and run storm-starter (see below), Maven will then be of Storm in this local Maven repository at `$HOME/.m2/repository`. -## Running topologies with Maven - -> Note: All following examples require that you run `cd examples/storm-starter` beforehand. - -storm-starter topologies which don't use multilang feature can be run with the maven-exec-plugin. -For example, to compile and run `ExclamationTopology` in local mode, use the command: - - $ mvn compile exec:java -Dstorm.topology=storm.starter.ExclamationTopology - -You can also run clojure topologies with Maven: - - $ mvn compile exec:java -Dstorm.topology=storm.starter.clj.word_count - -In Windows parameter should be quoted, like this: - - $ mvn compile exec:java "-Dstorm.topology=storm.starter.clj.word_count" - ## Packaging storm-starter for use on a Storm cluster You can package a jar suitable for submitting to a Storm cluster with the command: @@ -104,8 +87,8 @@ Example filename of the uberjar: You can submit (run) a topology contained in this uberjar to Storm via the `storm` CLI tool: - # Example 1: Run the RollingTopWords in local mode (LocalCluster) - $ storm jar storm-starter-*.jar storm.starter.RollingTopWords + # Example 1: Run the ExclamationTopology in local mode (LocalCluster) + $ storm jar target/storm-starter-*.jar storm.starter.ExclamationTopology # Example 2: Run the RollingTopWords in remote/cluster mode, # under the name "production-topology"
