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,8 +93,10 @@ public void append(LoggingEvent event) {
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
if (qw != null) {
|
||||
qw.flush();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void close() {
|
||||
|
@ -65,8 +65,10 @@ public void append(LoggingEvent event) {
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
if (qw != null) {
|
||||
qw.flush();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void close() {
|
||||
|
Loading…
Reference in New Issue
Block a user