You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2015/10/03 08:41:26 UTC

[jira] [Resolved] (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:all-tabpanel ]

Jungtaek Lim resolved STORM-1066.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.10.0

Thanks [~zhuoliu], I merged into master and 0.10.x-branch.

> 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
>             Fix For: 0.10.0
>
>
> 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)