hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2560) Diagnostics is delayed to passed to ApplicationReport
Date Tue, 16 Sep 2014 15:42:34 GMT
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.
while(true) {
        appReport = yarnClient.getApplicationReport(appId);
        LOG.info("AppStatus:" + appReport.getFinalApplicationStatus());
        LOG.info("Diagnostics:" + appReport.getDiagnostics());

Diagnostics: // empty

// get diagnostics for the next getApplicationReport
Diagnostics: // diagnostics info here

This message was sent by Atlassian JIRA

View raw message