Description
In NameNode#blocksBeingWrittenReport
we have the following stateChangeLog
stateChangeLog.info("*BLOCK* NameNode.blocksBeingWrittenReport: " +"from "+nodeReg.getName()+" "+blocks.length +" blocks");
here blocks is long array. Every consecutive 3 elements represents a block ( length, blockid, genstamp).
So, here in log message, blocks.length should be blocks.length/3.