You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2018/03/01 04:47:36 UTC

[1/2] storm git commit: STORM-2980: Update storm-starter docs concerning local mode

Repository: storm
Updated Branches:
  refs/heads/master 5b1339ac3 -> 3d9d1d1b2


STORM-2980: Update storm-starter docs concerning local mode


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/f18821c4
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/f18821c4
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/f18821c4

Branch: refs/heads/master
Commit: f18821c4b9fe59bcc552c51521a5bdba40c8a290
Parents: 21f4173
Author: Stig Rohde Døssing <sr...@apache.org>
Authored: Tue Feb 27 15:11:10 2018 +0100
Committer: Stig Rohde Døssing <sr...@apache.org>
Committed: Tue Feb 27 15:13:11 2018 +0100

----------------------------------------------------------------------
 examples/storm-starter/README.markdown | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/f18821c4/examples/storm-starter/README.markdown
----------------------------------------------------------------------
diff --git a/examples/storm-starter/README.markdown b/examples/storm-starter/README.markdown
index c9696ec..2d6fe20 100644
--- a/examples/storm-starter/README.markdown
+++ b/examples/storm-starter/README.markdown
@@ -97,18 +97,8 @@ You can submit (run) a topology contained in this uberjar to Storm via the `stor
 
 With submitting you can run topologies which use multilang, for example, `WordCountTopology`.
 
-_Submitting a topology in local vs. remote mode:_
-It depends on the actual code of a topology how you can or even must tell Storm whether to run the topology locally (in
-an in-memory LocalCluster instance of Storm) or remotely (in a "real" Storm cluster).  In the case of topologies extending
-[ConfigurableTopology](https://github.com/apache/storm/tree/master/storm-server/src/jvm/org/apache/storm/topology/ConfigurableTopology.java),
-such as [RollingTopWords](src/jvm/org/apache/storm/starter/RollingTopWords.java) or [ExclamationTopology](src/jvm/org/apache/storm/starter/ExclamationTopology.java), 
-this is done by specifying `-local` in the command line arguments.
-Other topologies may behave differently, e.g. by always submitting to a remote cluster (i.e. hardcoded in a way that you, as a user,
-cannot change without modifying the topology code), or by requiring a customized configuration file that the topology
-code will parse prior submitting the topology to Storm.  Similarly, further options such as the name of the topology may
-be user-configurable or be hardcoded into the topology code.  So make sure you understand how the topology of your
-choice is set up and configured!
-
+### Submitting a topology in local vs. remote mode.
+You can also submit any topology in local mode via the `storm local` command, which works much like the `storm jar` command described above. If you need to run the examples from your IDE, you will need to modify the project slightly, to add a dependency on the `storm-server` module, and use `LocalCluster` to create a local cluster you can submit your topology to. Please see the documentation describing [Local Mode](https://github.com/apache/storm/blob/master/docs/Local-mode.md) for a complete overview of this topic.
 
 ## Running unit tests
 


[2/2] storm git commit: Merge branch 'STORM-2980' of https://github.com/srdo/storm into STORM-2980-merge

Posted by ka...@apache.org.
Merge branch 'STORM-2980' of https://github.com/srdo/storm into STORM-2980-merge


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/3d9d1d1b
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/3d9d1d1b
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/3d9d1d1b

Branch: refs/heads/master
Commit: 3d9d1d1b2e5ad4709ff40b3299428f11068f37a7
Parents: 5b1339a f18821c
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Thu Mar 1 13:47:26 2018 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Thu Mar 1 13:47:26 2018 +0900

----------------------------------------------------------------------
 examples/storm-starter/README.markdown | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------