hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [08/37] hadoop git commit: HDFS-12388. A bad error message in DFSStripedOutputStream. Contributed by Huafeng Wang
Date Thu, 07 Sep 2017 21:36:21 GMT
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/HDFS-7240
Commit: 5dba54596a1587e0ba5f9f02f40483e597b0df64
Parents: ed162b7
Author: Kai Zheng <kai.zheng@intel.com>
Authored: Tue Sep 5 17:46:07 2017 +0800
Committer: Kai Zheng <kai.zheng@intel.com>
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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message