YARN-4158. Remove duplicate close for LogWriter in AppLogAggregatorImpl#uploadLogsForContainers. Contributed by Zhihai Xu
(cherry picked from commit 8c1cdb17a0
)
This commit is contained in:
parent
ca6d5b4b92
commit
30ebb792f9
|
@ -73,6 +73,9 @@ Release 2.7.2 - UNRELEASED
|
|||
|
||||
YARN-4153. TestAsyncDispatcher failed at branch-2.7 (Zhihai Xu via jianhe)
|
||||
|
||||
YARN-4158. Remove duplicate close for LogWriter in
|
||||
AppLogAggregatorImpl#uploadLogsForContainers (Zhihai Xu via jlowe)
|
||||
|
||||
Release 2.7.1 - 2015-07-06
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -290,6 +290,7 @@ public class AppLogAggregatorImpl implements AppLogAggregator {
|
|||
|
||||
if (writer != null) {
|
||||
writer.close();
|
||||
writer = null;
|
||||
}
|
||||
|
||||
final Path renamedPath = this.rollingMonitorInterval <= 0
|
||||
|
|
Loading…
Reference in New Issue