HDFS-9867. Missing block exception should carry locatedBlocks information. Contributed by Mingliang Liu.
This commit is contained in:
parent
408f2c807b
commit
321a80c759
@ -605,7 +605,8 @@ private void checkMissingBlocks() throws IOException {
|
|||||||
if (alignedStripe.missingChunksNum > parityBlkNum) {
|
if (alignedStripe.missingChunksNum > parityBlkNum) {
|
||||||
clearFutures(futures.keySet());
|
clearFutures(futures.keySet());
|
||||||
throw new IOException(alignedStripe.missingChunksNum
|
throw new IOException(alignedStripe.missingChunksNum
|
||||||
+ " missing blocks, the stripe is: " + alignedStripe);
|
+ " missing blocks, the stripe is: " + alignedStripe
|
||||||
|
+ "; locatedBlocks is: " + locatedBlocks);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -449,6 +449,9 @@ Trunk (Unreleased)
|
|||||||
HDFS-9866. BlockManager#chooseExcessReplicasStriped may weaken rack fault
|
HDFS-9866. BlockManager#chooseExcessReplicasStriped may weaken rack fault
|
||||||
tolerance. (jing9)
|
tolerance. (jing9)
|
||||||
|
|
||||||
|
HDFS-9867. Missing block exception should carry locatedBlocks information.
|
||||||
|
(Mingliang Liu via jing9)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-7285 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-7285 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-7347. Configurable erasure coding policy for individual files and
|
HDFS-7347. Configurable erasure coding policy for individual files and
|
||||||
|
Loading…
Reference in New Issue
Block a user