You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2016/12/26 07:52:31 UTC

hadoop git commit: HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. Contributed by Yiqun Lin.

Repository: hadoop
Updated Branches:
  refs/heads/trunk 483cd06ad -> 8f218ea28


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/trunk
Commit: 8f218ea2849477bdcb4918586aaefed0cd118341
Parents: 483cd06
Author: Akira Ajisaka <aa...@apache.org>
Authored: Mon Dec 26 16:51:29 2016 +0900
Committer: Akira Ajisaka <aa...@apache.org>
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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org