[ 
https://issues.apache.org/jira/browse/HDFS-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira Ajisaka updated HDFS-11250:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha2
                   2.8.0
           Status: Resolved  (was: Patch Available)

Committed this to trunk, branch-2, and branch-2.8. Thanks [~linyiqun] for the 
contribution.

> Fix a typo in ReplicaUnderRecovery#setRecoveryID
> ------------------------------------------------
>
>                 Key: HDFS-11250
>                 URL: https://issues.apache.org/jira/browse/HDFS-11250
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Trivial
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11250.001.patch
>
>
> Found a typo contained in exception message of 
> {{ReplicaUnderRecovery#setRecoveryID}}. The relevant codes:
> {code}
>   public void setRecoveryID(long recoveryId) {
>     if (recoveryId > this.recoveryId) {
>       this.recoveryId = recoveryId;
>     } else {
>       throw new IllegalArgumentException("The new rcovery id: " + recoveryId
>           + " must be greater than the current one: " + this.recoveryId);
>     }
>   }
> {code}
> Here {{rcovery}} should be {{recovery}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to