HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth.
(cherry picked from commit b8c094b0754099f13d668081b4afcf0644e325c3) (cherry picked from commit 8d8eb8dcec94e92d94eedef883cdece8ba333087) Conflicts: hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
This commit is contained in:
parent
5913c5143b
commit
2379932968
@ -1,5 +1,20 @@
|
||||
Hadoop HDFS Change Log
|
||||
|
||||
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
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -3394,8 +3394,8 @@ private int invalidateWorkForOneNode(DatanodeInfo dn) {
|
||||
} finally {
|
||||
namesystem.writeUnlock();
|
||||
}
|
||||
if (NameNode.stateChangeLog.isInfoEnabled()) {
|
||||
NameNode.stateChangeLog.info("BLOCK* " + getClass().getSimpleName()
|
||||
if (blockLog.isInfoEnabled()) {
|
||||
blockLog.info("BLOCK* " + getClass().getSimpleName()
|
||||
+ ": ask " + dn + " to delete " + toInvalidate);
|
||||
}
|
||||
return toInvalidate.size();
|
||||
|
Loading…
x
Reference in New Issue
Block a user