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-7403) Inaccurate javadoc of BlockUCState#COMPLETE state
Date Mon, 24 Nov 2014 14:22:12 GMT

    [ 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.<br>
>      * 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)

Mime
View raw message