소스 검색

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

(cherry picked from commit 5dba54596a1587e0ba5f9f02f40483e597b0df64)
Kai Zheng 8 년 전
부모
커밋
b7739b468e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSStripedOutputStream.java

+ 1 - 1
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;