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
1 changed files with 1 additions and 1 deletions

View File

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