You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2015/07/15 23:17:57 UTC

[1/2] storm git commit: Touch up parallelism doc: typo, config for hint.

Repository: storm
Updated Branches:
  refs/heads/master eb583bb50 -> cddd2531c


Touch up parallelism doc: typo, config for hint.


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

Branch: refs/heads/master
Commit: 792a88d1ff636da78199146e57c4fc0c84b3a284
Parents: 9906f85
Author: Ron DuPlain <ro...@gmail.com>
Authored: Sat Jul 11 08:17:28 2015 -0400
Committer: Ron DuPlain <ro...@gmail.com>
Committed: Sat Jul 11 08:17:28 2015 -0400

----------------------------------------------------------------------
 .../Understanding-the-parallelism-of-a-Storm-topology.md        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/792a88d1/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
----------------------------------------------------------------------
diff --git a/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md b/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
index efa6a9b..9b1e006 100644
--- a/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
+++ b/docs/documentation/Understanding-the-parallelism-of-a-Storm-topology.md
@@ -37,7 +37,7 @@ The following sections give an overview of the various configuration options and
 ### Number of executors (threads)
 
 * Description: How many executors to spawn _per component_.
-* Configuration option: ?
+* Configuration option: None (pass ``parallelism_hint`` parameter to ``setSpout`` or ``setBolt``)
 * How to set in your code (examples):
     * [TopologyBuilder#setSpout()](/javadoc/apidocs/backtype/storm/topology/TopologyBuilder.html)
     * [TopologyBuilder#setBolt()](/javadoc/apidocs/backtype/storm/topology/TopologyBuilder.html)
@@ -56,7 +56,7 @@ Here is an example code snippet to show these settings in practice:
 ```java
 topologyBuilder.setBolt("green-bolt", new GreenBolt(), 2)
                .setNumTasks(4)
-               .shuffleGrouping("blue-spout);
+               .shuffleGrouping("blue-spout");
 ```
 
 In the above code we configured Storm to run the bolt ``GreenBolt`` with an initial number of two executors and four associated tasks. Storm will run two tasks per executor (thread). If you do not explicitly configure the number of tasks, Storm will run by default one task per executor.
@@ -120,4 +120,3 @@ $ storm rebalance mytopology -n 5 -e blue-spout=3 -e yellow-bolt=10
 * [Local mode](Local-mode.html)
 * [Tutorial](Tutorial.html)
 * [Storm API documentation](/javadoc/apidocs/), most notably the class ``Config``
-


[2/2] storm git commit: Merge branch 'parallelism-doc-touchup' of https://github.com/rduplain/storm into PULL-629

Posted by bo...@apache.org.
Merge branch 'parallelism-doc-touchup' of https://github.com/rduplain/storm into PULL-629

PULL-629: Touch up parallelism doc: typo, config for hint.


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

Branch: refs/heads/master
Commit: cddd2531ca0ef24ab71b9f36787b0c6799c2d5e6
Parents: eb583bb 792a88d
Author: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Authored: Wed Jul 15 16:15:25 2015 -0500
Committer: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Committed: Wed Jul 15 16:15:25 2015 -0500

----------------------------------------------------------------------
 .../Understanding-the-parallelism-of-a-Storm-topology.md          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------