Merge -c 1186542 from trunk to branch-0.23 to complete fix for MAPREDUCE-3208.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1186544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-19 22:38:53 +00:00
parent 38a73eebaf
commit c56916f582
3 changed files with 9 additions and 2 deletions

View File

@ -1643,6 +1643,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-2693. Fix NPE in job-blacklisting. (Hitesh Shah via acmurthy) 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 Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -93,7 +93,9 @@ public class TaskLogAppender extends FileAppender {
} }
public void flush() { public void flush() {
qw.flush(); if (qw != null) {
qw.flush();
}
} }
@Override @Override

View File

@ -65,7 +65,9 @@ public class ContainerLogAppender extends FileAppender {
} }
public void flush() { public void flush() {
qw.flush(); if (qw != null) {
qw.flush();
}
} }
@Override @Override