소스 검색

HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. Contributed by Yiqun Lin.

(cherry picked from commit 8f218ea2849477bdcb4918586aaefed0cd118341)
Akira Ajisaka 8 년 전
부모
커밋
1b39268233
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java

@@ -73,7 +73,7 @@ public class ReplicaUnderRecovery extends ReplicaInfo {
     if (recoveryId > this.recoveryId) {
       this.recoveryId = recoveryId;
     } else {
-      throw new IllegalArgumentException("The new rcovery id: " + recoveryId
+      throw new IllegalArgumentException("The new recovery id: " + recoveryId
           + " must be greater than the current one: " + this.recoveryId);
     }
   }