HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. Contributed by Yiqun Lin.
(cherry picked from commit 8f218ea284
)
This commit is contained in:
parent
a779b4ab8f
commit
1b39268233
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue