hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-814) Difficult to diagnose a failed container launch when error due to invalid environment variable
Date Sat, 22 Jun 2013 00:41:21 GMT

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

Jian He commented on YARN-814:
------------------------------

After investigation shExec.getOutput() is returning empty string when getting an error. we
should instead get error message from ExitCodeException. 
                
> Difficult to diagnose a failed container launch when error due to invalid environment
variable
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-814
>                 URL: https://issues.apache.org/jira/browse/YARN-814
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Jian He
>
> The container's launch script sets up environment variables, symlinks etc. 
> If there is any failure when setting up the basic context ( before the actual user's
process is launched ), nothing is captured by the NM. This makes it impossible to diagnose
the reason for the failure. 
> To reproduce, set an env var where the value contains characters that throw syntax errors
in bash. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message