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

Thomas Weise commented on YARN-208:
-----------------------------------

In case of State=FAILED, FinalState=FAILED, the override is something like:

{{Application application_1352326804484_0004 failed 1 times due to AM Container 
for appattempt_1352326804484_0004_000001 exited with exitCode: 1 due to: 
.Failing this attempt.. Failing the application.}} 

That is with non zero AM exit code, no trace of the original message.

For FINISHED/SUCCEEDED and FINISHED/FAILED it is blank.

Under either scenario info set by the AM should not be lost.

                
> Yarn overrides diagnostic message set by AM
> -------------------------------------------
>
>                 Key: YARN-208
>                 URL: https://issues.apache.org/jira/browse/YARN-208
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.1-alpha
>            Reporter: Thomas Weise
>
> Diagnostics set in the AM just before exit overridden by Yarn. In the case of 
> state FAILED with different message, for SUCCESS the field will be blank. 
> Should retain application info. Per FinishApplicationMasterRequest this can 
> be managed by ApplicationMaster.

--
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

Reply via email to