Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 437FD200BE9 for ; Mon, 26 Dec 2016 08:54:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4219B160B40; Mon, 26 Dec 2016 07:54:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AE401160B2A for ; Mon, 26 Dec 2016 08:53:59 +0100 (CET) Received: (qmail 19339 invoked by uid 500); 26 Dec 2016 07:53:58 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 19310 invoked by uid 99); 26 Dec 2016 07:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2016 07:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90CAF2C1F54 for ; Mon, 26 Dec 2016 07:53:58 +0000 (UTC) Date: Mon, 26 Dec 2016 07:53:58 +0000 (UTC) From: "Akira Ajisaka (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11250) Fix a typo in ReplicaUnderRecovery#setRecoveryID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Dec 2016 07:54:00 -0000 [ https://issues.apache.org/jira/browse/HDFS-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15777819#comment-15777819 ] Akira Ajisaka commented on HDFS-11250: -------------------------------------- +1, committing this. > 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