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

This commit is contained in:
Jason Lowe 2015-09-15 20:21:33 +00:00
parent 62943b8e3a
commit 8c1cdb17a0
2 changed files with 4 additions and 0 deletions

View File

@ -919,6 +919,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();