YARN-3505 addendum: fix an issue in previous patch.
(cherry picked from commit 03a293aed6
)
This commit is contained in:
parent
b9865cbf3d
commit
cc671349bc
|
@ -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