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

Hitesh Shah updated YARN-5219:
------------------------------
    Description: 
Today, a container fails if certain files fail to localize. However, if certain 
env vars fail to get setup properly either due to bugs in the yarn application 
or misconfiguration, the actual process launch still gets triggered. This 
results in either confusing error messages if the process fails to launch or 
worse yet the process launches but then starts behaving wrongly if the env var 
is used to control some behavioral aspects. 

In this scenario, the issue was reproduced by trying to do export 
abc="$\X{foo.bar}" which is invalid as var names cannot contain "." in bash. 

  was:
Today, a container fails if certain files fail to localize. However, if certain 
env vars fail to get setup properly either due to bugs in the yarn application 
or misconfiguration, the actual process launch still gets triggered. This 
results in either confusing error messages if the process fails to launch or 
worse yet the process launches but then starts behaving wrongly if the env var 
is used to control some behavioral aspects. 

In this scenario, the issue was reproduced by trying to do export 
abc="${foo.bar}" which is invalid as var names cannot contain "." in bash. 


> When an export var command fails in launch_container.sh, the full container 
> launch should fail
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-5219
>                 URL: https://issues.apache.org/jira/browse/YARN-5219
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>
> Today, a container fails if certain files fail to localize. However, if 
> certain env vars fail to get setup properly either due to bugs in the yarn 
> application or misconfiguration, the actual process launch still gets 
> triggered. This results in either confusing error messages if the process 
> fails to launch or worse yet the process launches but then starts behaving 
> wrongly if the env var is used to control some behavioral aspects. 
> In this scenario, the issue was reproduced by trying to do export 
> abc="$\X{foo.bar}" which is invalid as var names cannot contain "." in bash. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to