[
https://issues.apache.org/jira/browse/HDFS-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-8133:
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
> Improve readability of deleted block check
> ------------------------------------------
>
> Key: HDFS-8133
> URL: https://issues.apache.org/jira/browse/HDFS-8133
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 2.0.0-alpha
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Fix For: 2.8.0
>
> Attachments: HDFS-8133.patch
>
>
> The current means of checking if a block is deleted is checking if its block
> collection is null. A more readable approach is an isDeleted method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)