You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sunil G (JIRA)" <ji...@apache.org> on 2016/01/07 04:33:39 UTC
[jira] [Commented] (YARN-4554) ApplicationReport.getDiagnostics
does not return diagnostics from individual attempts
[ https://issues.apache.org/jira/browse/YARN-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086739#comment-15086739 ]
Sunil G commented on YARN-4554:
-------------------------------
Yes, I think this will be helpful. I will try to share a patch for same if you are not planning.
> 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)