MAPREDUCE-3208. Fix NPE task/container log appenders. Contributed by liangzhwa.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1186542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-19 22:38:17 +00:00
parent 74748ec625
commit 7ca7fdadc4
3 changed files with 9 additions and 2 deletions

View File

@ -1697,6 +1697,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-2693. Fix NPE in job-blacklisting. (Hitesh Shah via acmurthy)
MAPREDUCE-3208. Fix NPE task/container log appenders. (liangzhwa via
acmurthy)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -93,7 +93,9 @@ public void append(LoggingEvent event) {
}
public void flush() {
qw.flush();
if (qw != null) {
qw.flush();
}
}
@Override

View File

@ -65,7 +65,9 @@ public void append(LoggingEvent event) {
}
public void flush() {
qw.flush();
if (qw != null) {
qw.flush();
}
}
@Override