You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2014/09/16 17:42:34 UTC
[jira] [Created] (YARN-2560) Diagnostics is delayed to passed to
ApplicationReport
Jeff Zhang created YARN-2560:
--------------------------------
Summary: Diagnostics is delayed to passed to ApplicationReport
Key: YARN-2560
URL: https://issues.apache.org/jira/browse/YARN-2560
Project: Hadoop YARN
Issue Type: Bug
Reporter: Jeff Zhang
The diagnostics of Application may be delayed to pass to ApplicationReport. Here's one example when ApplicationStatus has changed to FAILED, but the diagnostics is still empty. And the next call of getApplicationReport could get the diagnostics.
{code}
while(true) {
appReport = yarnClient.getApplicationReport(appId);
Thread.sleep(1000);
LOG.info("AppStatus:" + appReport.getFinalApplicationStatus());
LOG.info("Diagnostics:" + appReport.getDiagnostics());
....
}
{code}
*Output:*
{code}
AppStatus:FAILED
Diagnostics: // empty
// get diagnostics for the next getApplicationReport
AppStatus:FAILED
Diagnostics: // diagnostics info here
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)