Sumit Mohanty created SLIDER-457:
------------------------------------

             Summary: 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)

Reply via email to