[
https://issues.apache.org/jira/browse/HDFS-7403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222735#comment-14222735
]
Yongjun Zhang commented on HDFS-7403:
-------------------------------------
Thanks a lot Yi!
> 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)