GitHub user zhuoliu opened a pull request:
https://github.com/apache/storm/pull/756
[STORM-1058] create CLI kill_workers to kill workers on a supervisor node
Kill all the workers running on this supervisor.
Currently there is no direct way to kill all the running workers on a
supervisor node from a command line. In addition, if the supervisor dies, the
workers will not suicide automatically.
Also, this CLI can be called by future node health-check script to cleanly
shutdown a supervisor on an problematic node.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhuoliu/storm 1058
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/756.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #756
----
commit 034fa1a30655dfda92e550acbf6af34b4508b8a5
Author: zhuol <[email protected]>
Date: 2015-09-22T15:44:43Z
Storm-1058 Add kill_workers CLI
commit eb7259c29b8ab6a56712c23f1036a1b4ebdb742e
Author: zhuol <[email protected]>
Date: 2015-09-22T15:45:09Z
kill_worker class
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---