Repository: hadoop Updated Branches: refs/heads/trunk ed162b7aa -> 5dba54596
HDFS-12388. A bad error message in DFSStripedOutputStream. Contributed by Huafeng Wang Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5dba5459 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5dba5459 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5dba5459 Branch: refs/heads/trunk Commit: 5dba54596a1587e0ba5f9f02f40483e597b0df64 Parents: ed162b7 Author: Kai Zheng <[email protected]> Authored: Tue Sep 5 17:46:07 2017 +0800 Committer: Kai Zheng <[email protected]> Committed: Tue Sep 5 17:46:07 2017 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/5dba5459/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java index 842f23b..d5206d1 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java @@ -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; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
