HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth.
(cherry picked from commit b8c094b075
)
This commit is contained in:
parent
3de3640e4c
commit
8d8eb8dcec
|
@ -216,6 +216,21 @@ Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-7374. Allow decommissioning of dead DataNodes. (Zhe Zhang)
|
HDFS-7374. Allow decommissioning of dead DataNodes. (Zhe Zhang)
|
||||||
|
|
||||||
|
Release 2.6.1 - UNRELEASED
|
||||||
|
|
||||||
|
INCOMPATIBLE CHANGES
|
||||||
|
|
||||||
|
NEW FEATURES
|
||||||
|
|
||||||
|
IMPROVEMENTS
|
||||||
|
|
||||||
|
OPTIMIZATIONS
|
||||||
|
|
||||||
|
BUG FIXES
|
||||||
|
|
||||||
|
HDFS-7425. NameNode block deletion logging uses incorrect appender.
|
||||||
|
(cnauroth)
|
||||||
|
|
||||||
Release 2.6.0 - 2014-11-18
|
Release 2.6.0 - 2014-11-18
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -3423,8 +3423,8 @@ public class BlockManager {
|
||||||
} finally {
|
} finally {
|
||||||
namesystem.writeUnlock();
|
namesystem.writeUnlock();
|
||||||
}
|
}
|
||||||
if (NameNode.stateChangeLog.isInfoEnabled()) {
|
if (blockLog.isInfoEnabled()) {
|
||||||
NameNode.stateChangeLog.info("BLOCK* " + getClass().getSimpleName()
|
blockLog.info("BLOCK* " + getClass().getSimpleName()
|
||||||
+ ": ask " + dn + " to delete " + toInvalidate);
|
+ ": ask " + dn + " to delete " + toInvalidate);
|
||||||
}
|
}
|
||||||
return toInvalidate.size();
|
return toInvalidate.size();
|
||||||
|
|
Loading…
Reference in New Issue