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

(cherry picked from commit 03a293aed6)
This commit is contained in:
Junping Du 2015-05-15 06:39:39 -07:00
parent b9865cbf3d
commit cc671349bc
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) {