hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. Contributed by Yiqun Lin.
Date Mon, 26 Dec 2016 07:52:52 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 a779b4ab8 -> 1b3926823


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

(cherry picked from commit 8f218ea2849477bdcb4918586aaefed0cd118341)


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

Branch: refs/heads/branch-2
Commit: 1b392682333ff7c95d9400bc1b49ef3adae37c54
Parents: a779b4a
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Mon Dec 26 16:51:29 2016 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Mon Dec 26 16:52:43 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/1b392682/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 558ee21..ae1f8b2 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
@@ -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);
     }
   }


---------------------------------------------------------------------
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