GitHub user satishd opened a pull request:
https://github.com/apache/storm/pull/1084
STORM-1516 Fixed issue in writing pids with distributed cluster mode.
Whenever a topology is submitted, it creates respective workers on
supervisor/s. These worker pids are stored as files in
${storm-localdir}/workers/{worker-id}/pids/ on supervisor. But there is an
issue in storing worker pids. So, supervisor could not find respective worker
pids when a topology is killed. Subsequent topology deployment workers are
failed because of earlier workers are still alive and bound to the respective
ports.
Fixed worker.clj to have right checks while writing pids to respective
locations.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/satishd/storm storm-1516
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1084.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 #1084
----
commit a27e5034b693b9a22b8e1226fec76232f6b6dffc
Author: Satish Duggana <[email protected]>
Date: 2016-02-05T12:15:43Z
STORM-1516 Fixed issue in writing pids with distributed cluster mode.
----
---
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.
---