[
https://issues.apache.org/jira/browse/HDFS-7403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220660#comment-14220660
]
Yi Liu commented on HDFS-7403:
------------------------------
Yongjun, BTW, I think we don't need the link, we may describe using words. It
looks strange we link like this in a common class.
> 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
> Attachments: HDFS-7403.001.patch, HDFS-7403.002.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)