HDFS-7213. processIncrementalBlockReport performance degradation.

Contributed by Eric Payne.
This commit is contained in:
Kihwal Lee 2014-10-28 14:54:05 -05:00
parent 371a3b87ed
commit e226b5b40d
2 changed files with 6 additions and 1 deletions

View File

@ -315,6 +315,9 @@ Release 2.7.0 - UNRELEASED
HDFS-5928. Show namespace and namenode ID on NN dfshealth page.
(Siqi Li via wheat9)
HDFS-7213. processIncrementalBlockReport performance degradation.
(Eric Payne via kihwal)
OPTIMIZATIONS
BUG FIXES

View File

@ -3075,9 +3075,11 @@ public void processIncrementalBlockReport(final DatanodeID nodeID,
+ " is received from " + nodeID);
}
}
blockLog.debug("*BLOCK* NameNode.processIncrementalBlockReport: " + "from "
if (blockLog.isDebugEnabled()) {
blockLog.debug("*BLOCK* NameNode.processIncrementalBlockReport: " + "from "
+ nodeID + " receiving: " + receiving + ", " + " received: " + received
+ ", " + " deleted: " + deleted);
}
}
/**