HDFS-13225. StripeReader#checkMissingBlocks() 's IOException info is incomplete. Contributed by lufei.
This commit is contained in:
parent
46d29e3d7e
commit
19ae4429f9
@ -188,11 +188,11 @@ public static int getInsertIndex(int binSearchResult) {
|
||||
|
||||
@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 + "}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user