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 2016/05/17 06:40:36 UTC
[1/2] storm git commit: Fix broken link to setup dev env link
Repository: storm
Updated Branches:
refs/heads/0.9.x-branch 17b444190 -> e9cffeee8
Fix broken link to setup dev env link
And complete options for `storm rebalance` command
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e2149c2e
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e2149c2e
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e2149c2e
Branch: refs/heads/0.9.x-branch
Commit: e2149c2eb952f648a8f57e07ce7f16b446436851
Parents: 17b4441
Author: Arinto Murdopo <ar...@gmail.com>
Authored: Thu Apr 28 10:44:08 2016 +0800
Committer: Arinto Murdopo <ar...@gmail.com>
Committed: Thu Apr 28 10:44:08 2016 +0800
----------------------------------------------------------------------
docs/Command-line-client.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/e2149c2e/docs/Command-line-client.md
----------------------------------------------------------------------
diff --git a/docs/Command-line-client.md b/docs/Command-line-client.md
index 0e645d7..d769fc5 100644
--- a/docs/Command-line-client.md
+++ b/docs/Command-line-client.md
@@ -1,7 +1,7 @@
---
layout: documentation
---
-This page describes all the commands that are possible with the "storm" command line client. To learn how to set up your "storm" client to talk to a remote cluster, follow the instructions in [Setting up development environment](Setting-up-a-development-environment.html).
+This page describes all the commands that are possible with the "storm" command line client. To learn how to set up your "storm" client to talk to a remote cluster, follow the instructions in [Setting up development environment](Setting-up-development-environment.html).
These commands are:
@@ -45,12 +45,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 'minor-fix-documentation' of
https://github.com/arinto/storm into storm-pr-1375
Posted by ka...@apache.org.
Merge branch 'minor-fix-documentation' of https://github.com/arinto/storm into storm-pr-1375
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e9cffeee
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e9cffeee
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e9cffeee
Branch: refs/heads/0.9.x-branch
Commit: e9cffeee8598f4a2ec0dee20ef8e2880100e522f
Parents: 17b4441 e2149c2
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Tue May 17 15:40:16 2016 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Tue May 17 15:40:16 2016 +0900
----------------------------------------------------------------------
docs/Command-line-client.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------