You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/09/27 10:00:40 UTC

[jira] [Resolved] (SLIDER-457) Avoid using Application environment variables within other environment variables

     [ https://issues.apache.org/jira/browse/SLIDER-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Mohanty resolved SLIDER-457.
----------------------------------
    Resolution: Duplicate

SLIDER-459

> Avoid using Application environment variables within other environment variables
> --------------------------------------------------------------------------------
>
>                 Key: SLIDER-457
>                 URL: https://issues.apache.org/jira/browse/SLIDER-457
>             Project: Slider
>          Issue Type: Bug
>          Components: agent-provider
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: Slider 0.60
>
>
> During container launch the environment variables may get expanded in random order. So if you define a variable such as AGENT_LOG_ROOT = %LOG_DIRS% then it may not expand correctly if LOG_DIRS is expanded later. For example:
> @set AGENT_LOG_ROOT=%LOG_DIRS%
> ....
> @set LOG_DIRS=c:/hadoop/data/hadoop/logs/application_1411325548120_0018/container_1411325548120_0018_01_000010
> Instead, the code should directly use the existing environment variables.



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