HDFS-9867. Missing block exception should carry locatedBlocks information. Contributed by Mingliang Liu.

This commit is contained in:
Jing Zhao 2016-02-28 15:00:27 -08:00
parent 408f2c807b
commit 321a80c759
2 changed files with 5 additions and 1 deletions

View File

@ -605,7 +605,8 @@ public class DFSStripedInputStream extends DFSInputStream {
if (alignedStripe.missingChunksNum > parityBlkNum) {
clearFutures(futures.keySet());
throw new IOException(alignedStripe.missingChunksNum
+ " missing blocks, the stripe is: " + alignedStripe);
+ " missing blocks, the stripe is: " + alignedStripe
+ "; locatedBlocks is: " + locatedBlocks);
}
}

View File

@ -449,6 +449,9 @@ Trunk (Unreleased)
HDFS-9866. BlockManager#chooseExcessReplicasStriped may weaken rack fault
tolerance. (jing9)
HDFS-9867. Missing block exception should carry locatedBlocks information.
(Mingliang Liu via jing9)
BREAKDOWN OF HDFS-7285 SUBTASKS AND RELATED JIRAS
HDFS-7347. Configurable erasure coding policy for individual files and