YARN-3505 addendum: fix an issue in previous patch.

This commit is contained in:
Junping Du 2015-05-15 06:39:39 -07:00
parent 1ea90144d5
commit 03a293aed6

View File

@ -359,7 +359,7 @@ public Object run() throws Exception {
finalReport.setApplicationId(appId);
finalReport.setLogAggregationStatus(renameTemporaryLogFileFailed
? LogAggregationStatus.FAILED : LogAggregationStatus.SUCCEEDED);
this.context.getLogAggregationStatusForApps().add(report);
this.context.getLogAggregationStatusForApps().add(finalReport);
}
} finally {
if (writer != null) {