git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0@1214675 13f79535-47bb-0310-9956-ffa450edef68
@@ -61,6 +61,9 @@ Release 1.0.0 - 2011.11.27
BUG FIXES
+ HDFS-2673. While Namenode processing the blocksBeingWrittenReport,
+ it will log incorrect number blocks count. (Uma Maheswara via mattf)
+
MAPREDUCE-3319. Hadoop example "multifilewc" broken in 0.20.205.0.
(Subroto Sanyal via mattf)
@@ -1015,7 +1015,7 @@ public class NameNode implements ClientProtocol, DatanodeProtocol,
namesystem.processBlocksBeingWrittenReport(nodeReg, blist);
stateChangeLog.info("*BLOCK* NameNode.blocksBeingWrittenReport: "
- +"from "+nodeReg.getName()+" "+blocks.length +" blocks");
+ +"from "+nodeReg.getName()+" "+blist.getNumberOfBlocks() +" blocks");
}