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 558ee217534..ae1f8b26f43 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); } }