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

Siddharth Seth commented on YARN-4554:
--------------------------------------

Please go ahead. Separating the diagnostics per appAttempt in the main report 
would be useful. Something like "[appAttempt1=...], [appAttempt2=...]"

> ApplicationReport.getDiagnostics does not return diagnostics from individual 
> attempts
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-4554
>                 URL: https://issues.apache.org/jira/browse/YARN-4554
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Siddharth Seth
>            Assignee: Sunil G
>
> For an Application with ApplicationReport.getFinalApplicationStatus=FAILED 
> and ApplicationReport.getYarnApplicationState=FINISHED - 
> ApplicationReport.getDiagnostics returns an empty string.
> Instead I had to use ApplicationReport.getCurrentApplicationAttemptId, 
> followed by getApplicationAttemptReport to get diagnostics for the attempt - 
> which contained the information I had used to unregister the app.



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

Reply via email to