YARN-3505 addendum: fix an issue in previous patch.
This commit is contained in:
parent
1ea90144d5
commit
03a293aed6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue