HDFS-13225. StripeReader#checkMissingBlocks() 's IOException info is incomplete. Contributed by lufei.
(cherry picked from commit 19ae4429f9
)
This commit is contained in:
parent
cc0f14c13c
commit
0b1e9665df
|
@ -188,11 +188,11 @@ public class LocatedBlocks {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return getClass().getSimpleName() + "{" + "\n fileLength=" + fileLength
|
return getClass().getSimpleName() + "{" + "; fileLength=" + fileLength
|
||||||
+ "\n underConstruction=" + underConstruction
|
+ "; underConstruction=" + underConstruction
|
||||||
+ "\n blocks=" + blocks
|
+ "; blocks=" + blocks
|
||||||
+ "\n lastLocatedBlock=" + lastLocatedBlock
|
+ "; lastLocatedBlock=" + lastLocatedBlock
|
||||||
+ "\n isLastBlockComplete=" + isLastBlockComplete
|
+ "; isLastBlockComplete=" + isLastBlockComplete
|
||||||
+ "\n ecPolicy=" + ecPolicy + "}";
|
+ "; ecPolicy=" + ecPolicy + "}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue