Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08C3C10BA7 for ; Mon, 24 Nov 2014 14:22:13 +0000 (UTC) Received: (qmail 64393 invoked by uid 500); 24 Nov 2014 14:22:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 64340 invoked by uid 500); 24 Nov 2014 14:22:12 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 64327 invoked by uid 99); 24 Nov 2014 14:22:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 14:22:12 +0000 Date: Mon, 24 Nov 2014 14:22:12 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7403) Inaccurate javadoc of BlockUCState#COMPLETE state MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223011#comment-14223011 ] Hudson commented on HDFS-7403: ------------------------------ SUCCESS: Integrated in Hadoop-Hdfs-trunk #1943 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1943/]) HDFS-7403. Inaccurate javadoc of BlockUCState#COMPLETE state. (Yongjun Zhang via yliu) (yliu: rev 555fa2d9d0dbb3bf2b209a953eb07a59bbfe3197) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java > Inaccurate javadoc of BlockUCState#COMPLETE state > -------------------------------------------------- > > Key: HDFS-7403 > URL: https://issues.apache.org/jira/browse/HDFS-7403 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Yongjun Zhang > Assignee: Yongjun Zhang > Priority: Trivial > Fix For: 2.7.0 > > Attachments: HDFS-7403.001.patch, HDFS-7403.002.patch, HDFS-7403.003.patch > > > The current javadoc says > {code} > /** > * States, which a block can go through while it is under construction. > */ > static public enum BlockUCState { > /** > * Block construction completed.
> * The block has at least one {@link ReplicaState#FINALIZED} replica, > * and is not going to be modified. > */ > COMPLETE, > {code} > However, COMPLETE blocks mean those that have reached minimal replication "dfs.namenode.replication.min", which could be different than one. > > Creating this jira to fix the javadoc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)