GitHub user zhuoliu opened a pull request:
https://github.com/apache/storm/pull/769
[STORM-1066] add current directory for worker process launcher
Currently, when supervisor launches a worker, the current directory of the
worker process is not specified. In that case, the worker will be launched with
a current directory as ".", which is a random directory. It can cause problems
especially when the worker needs to dump something to its current directory.
To fix this, we should enable ProcessBuilder to specify worker's current
directory as worker-root/worker-uuid.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhuoliu/storm 1066
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/769.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 #769
----
commit 8edf1c28eb82c31969a39041d89b2f0923a3d0f4
Author: zhuol <[email protected]>
Date: 2015-09-29T17:49:01Z
[STORM-1066] add current directory for worker process launcher
----
---
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.
---