You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2016/12/15 11:52:58 UTC
[jira] [Updated] (HDFS-11250) Fix a typo in
ReplicaUnderRecovery#setRecoveryID
[ https://issues.apache.org/jira/browse/HDFS-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yiqun Lin updated HDFS-11250:
-----------------------------
Attachment: HDFS-11250.001.patch
> 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
> Attachments: HDFS-11250.001.patch
>
>
> Found a typo in {{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