HDFS-13225. StripeReader#checkMissingBlocks() 's IOException info is incomplete. Contributed by lufei.

This commit is contained in:
Hanisha Koneru 2018-03-07 14:17:10 -08:00
parent 46d29e3d7e
commit 19ae4429f9
1 changed files with 6 additions and 6 deletions

View File

@ -188,11 +188,11 @@ public class LocatedBlocks {
@Override
public String toString() {
return getClass().getSimpleName() + "{" + "\n fileLength=" + fileLength
+ "\n underConstruction=" + underConstruction
+ "\n blocks=" + blocks
+ "\n lastLocatedBlock=" + lastLocatedBlock
+ "\n isLastBlockComplete=" + isLastBlockComplete
+ "\n ecPolicy=" + ecPolicy + "}";
return getClass().getSimpleName() + "{" + "; fileLength=" + fileLength
+ "; underConstruction=" + underConstruction
+ "; blocks=" + blocks
+ "; lastLocatedBlock=" + lastLocatedBlock
+ "; isLastBlockComplete=" + isLastBlockComplete
+ "; ecPolicy=" + ecPolicy + "}";
}
}