You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by do...@apache.org on 2016/03/16 02:28:52 UTC

[1/2] storm git commit: Update doc for rebalance command

Repository: storm
Updated Branches:
  refs/heads/asf-site 1b2d1d6f3 -> 23799a9f2


Update doc for rebalance command


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

Branch: refs/heads/asf-site
Commit: e9eb307dac90a4fae40113235a006ffb2e81d383
Parents: ef7428d
Author: Julien Nioche <ju...@digitalpebble.com>
Authored: Sat Feb 20 21:10:48 2016 +0000
Committer: Julien Nioche <ju...@digitalpebble.com>
Committed: Sat Feb 20 21:10:48 2016 +0000

----------------------------------------------------------------------
 documentation/Command-line-client.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/e9eb307d/documentation/Command-line-client.md
----------------------------------------------------------------------
diff --git a/documentation/Command-line-client.md b/documentation/Command-line-client.md
index 2800411..9cd5fd6 100644
--- a/documentation/Command-line-client.md
+++ b/documentation/Command-line-client.md
@@ -47,12 +47,14 @@ Deactivates the specified topology's spouts.
 
 ### rebalance
 
-Syntax: `storm rebalance topology-name [-w wait-time-secs]`
+Syntax: `storm rebalance topology-name [-w wait-time-secs] [-n new-num-workers] [-e component=parallelism]*`
 
 Sometimes you may wish to spread out where the workers for a topology are running. For example, let's say you have a 10 node cluster running 4 workers per node, and then let's say you add another 10 nodes to the cluster. You may wish to have Storm spread out the workers for the running topology so that each node runs 2 workers. One way to do this is to kill the topology and resubmit it, but Storm provides a "rebalance" command that provides an easier way to do this. 
 
 Rebalance will first deactivate the topology for the duration of the message timeout (overridable with the -w flag) and then redistribute the workers evenly around the cluster. The topology will then return to its previous state of activation (so a deactivated topology will still be deactivated and an activated topology will go back to being activated).
 
+The rebalance command can also be used to change the parallelism of a running topology. Use the -n and -e switches to change the number of workers or number of executors of a component respectively.
+
 ### repl
 
 Syntax: `storm repl`


[2/2] storm git commit: Merge branch 'asf-site' of https://github.com/DigitalPebble/storm into pull1130

Posted by do...@apache.org.
Merge branch 'asf-site' of https://github.com/DigitalPebble/storm into pull1130


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

Branch: refs/heads/asf-site
Commit: 23799a9f2b14d66e57f7c25a85b296ad1bb99b17
Parents: 1b2d1d6 e9eb307
Author: Aaron Dossett <aa...@target.com>
Authored: Tue Mar 15 20:27:47 2016 -0500
Committer: Aaron Dossett <aa...@target.com>
Committed: Tue Mar 15 20:27:47 2016 -0500

----------------------------------------------------------------------
 documentation/Command-line-client.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------