You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/29 20:27:04 UTC

[jira] [Commented] (STORM-1066) Specify current directory when supervisor launches a worker

    [ https://issues.apache.org/jira/browse/STORM-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935586#comment-14935586 ] 

ASF GitHub Bot commented on STORM-1066:
---------------------------------------

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 <zh...@yahoo-inc.com>
Date:   2015-09-29T17:49:01Z

    [STORM-1066] add current directory for worker process launcher

----


> Specify current directory when supervisor launches a worker
> -----------------------------------------------------------
>
>                 Key: STORM-1066
>                 URL: https://issues.apache.org/jira/browse/STORM-1066
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>            Reporter: Zhuo Liu
>            Assignee: Zhuo Liu
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)