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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8f218ea2
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8f218ea2
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8f218ea2

Branch: refs/heads/YARN-5085
Commit: 8f218ea2849477bdcb4918586aaefed0cd118341
Parents: 483cd06
Author: Akira Ajisaka <[email protected]>
Authored: Mon Dec 26 16:51:29 2016 +0900
Committer: Akira Ajisaka <[email protected]>
Committed: Mon Dec 26 16:51:29 2016 +0900

----------------------------------------------------------------------
 .../apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8f218ea2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java
index 09140e7..324a8ea 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java
@@ -65,7 +65,7 @@ public class ReplicaUnderRecovery extends LocalReplica {
     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);
     }
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to