HDFS-12388. A bad error message in DFSStripedOutputStream. Contributed by Huafeng Wang
This commit is contained in:
parent
ed162b7aa0
commit
5dba54596a
@ -390,7 +390,7 @@ private Set<StripedDataStreamer> checkStreamers() throws IOException {
|
|||||||
}
|
}
|
||||||
if (failCount > (numAllBlocks - numDataBlocks)) {
|
if (failCount > (numAllBlocks - numDataBlocks)) {
|
||||||
throw new IOException("Failed: the number of failed blocks = "
|
throw new IOException("Failed: the number of failed blocks = "
|
||||||
+ failCount + " > the number of data blocks = "
|
+ failCount + " > the number of parity blocks = "
|
||||||
+ (numAllBlocks - numDataBlocks));
|
+ (numAllBlocks - numDataBlocks));
|
||||||
}
|
}
|
||||||
return newFailed;
|
return newFailed;
|
||||||
|
Loading…
Reference in New Issue
Block a user