hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11250) Fix a typo in ReplicaUnderRecovery#setRecoveryID
Date Mon, 26 Dec 2016 08:34:58 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15777883#comment-15777883
] 

Hudson commented on HDFS-11250:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11037 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11037/])
HDFS-11250. Fix a typo in ReplicaUnderRecovery#setRecoveryID. (aajisaka: rev 8f218ea2849477bdcb4918586aaefed0cd118341)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaUnderRecovery.java


> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message