Similar to the fix in
HADOOP-6419, in file:
in line 76, the blk.getBlockName() method invocation is invoked on variable blk. "blk" is the class instance of Block.
In file: hadoop-rel-release-2.7.2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/Block.java
The toString() method contain not only getBlockName() but also getGenerationStamp which may be helpful for debugging purpose. Therefore blk.getBlockName() can be replaced by blk