[
https://issues.apache.org/jira/browse/HDFS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko resolved HDFS-652.
--------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
I just committed this.
> Replace BlockInfo.isUnderConstruction() with isComplete()
> ----------------------------------------------------------
>
> Key: HDFS-652
> URL: https://issues.apache.org/jira/browse/HDFS-652
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Affects Versions: Append Branch
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: Append Branch
>
> Attachments: isComplete.patch, isComplete.patch
>
>
> In current implementation {{BlockInfo.isUnderConstruction()}} means the
> block is not COMPLETE. But there is also a block state UNDER_CONSTRUCTION,
> which make the semantics of {{isUnderConstruction()}} rather confusing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.