YARN-4158. Remove duplicate close for LogWriter in AppLogAggregatorImpl#uploadLogsForContainers. Contributed by Zhihai Xu

(cherry picked from commit 8c1cdb17a0)
This commit is contained in:
Jason Lowe 2015-09-15 20:21:33 +00:00
parent 52f56524d4
commit 181bda0421
2 changed files with 4 additions and 0 deletions

View File

@ -867,6 +867,9 @@ Release 2.7.2 - UNRELEASED
YARN-4126. RM should not issue delegation tokens in unsecure mode.
(Bibin A Chundatt 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

View File

@ -359,6 +359,7 @@ public class AppLogAggregatorImpl implements AppLogAggregator {
if (writer != null) {
writer.close();
writer = null;
}
long currentTime = System.currentTimeMillis();