Sumit Mohanty created SLIDER-459:
------------------------------------

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

Reply via email to