You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/26 08:56:33 UTC

[jira] [Commented] (SLIDER-459) Environment variable for containers do not expand correctly

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

ASF subversion and git services commented on SLIDER-459:
--------------------------------------------------------

Commit 43f9a94ad364f691069723667983f1b0ed285a55 in incubator-slider's branch refs/heads/develop from [~sumitmohanty]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=43f9a94 ]

SLIDER-459. Environment variable for containers do not expand correctly


> Environment variable for containers do not expand correctly
> -----------------------------------------------------------
>
>                 Key: SLIDER-459
>                 URL: https://issues.apache.org/jira/browse/SLIDER-459
>             Project: Slider
>          Issue Type: Bug
>          Components: agent-provider
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: Slider 0.60
>
>
> There is no guarantee that @set AGENT_WORK_ROOT=%PWD% will work as there is no defined order for environment variable expansion. If %PWD% is expanded, in launch_container.cmd, after the line containing @set AGENT_WORK_ROOT=%PWD% then AGENT_WORK_ROOT will be set to null. Looks like the environment variables defined in ApplicationConstants.Environment should not be assigned to other environment variables as the order of iterating through is undefined.
> Slider should change the code to directly use the variables in ApplicationConstants.Environment along with moving to using ApplicationConstants.LOG_DIR_EXPANSION_VAR.



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