HDFS-12388. A bad error message in DFSStripedOutputStream. Contributed by Huafeng Wang

This commit is contained in:
Kai Zheng 2017-09-05 17:46:07 +08:00 committed by Xiaoyu Yao
parent 3b1c4e4494
commit 06578bc2ea
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ public class DFSStripedOutputStream extends DFSOutputStream
}
if (failCount > (numAllBlocks - numDataBlocks)) {
throw new IOException("Failed: the number of failed blocks = "
+ failCount + " > the number of data blocks = "
+ failCount + " > the number of parity blocks = "
+ (numAllBlocks - numDataBlocks));
}
return newFailed;