Siddharth Seth created YARN-4554:
------------------------------------
Summary: 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
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)