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:
parent
74748ec625
commit
7ca7fdadc4
@ -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
|
||||
|
@ -93,7 +93,9 @@ public void append(LoggingEvent event) {
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
qw.flush();
|
||||
if (qw != null) {
|
||||
qw.flush();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -65,7 +65,9 @@ public void append(LoggingEvent event) {
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
qw.flush();
|
||||
if (qw != null) {
|
||||
qw.flush();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user