[ https://issues.apache.org/jira/browse/HDFS-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505479#comment-14505479 ]
Colin Patrick McCabe commented on HDFS-8133: -------------------------------------------- +1. Thanks, Daryn. Test failures are unrelated. I ran the tests locally and they passed. > 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 > 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)