[ https://issues.apache.org/jira/browse/HDFS-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated HDFS-9527: -------------------------------------- Attachment: h9527_20151209.patch Here is a new patch. h9527_20151209.patch > The return type of FSNamesystem.getBlockCollection should be changed to > INodeFile > --------------------------------------------------------------------------------- > > Key: HDFS-9527 > URL: https://issues.apache.org/jira/browse/HDFS-9527 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Priority: Minor > Attachments: h9527_20151208.patch, h9527_20151209.patch > > > FSNamesystem.getBlockCollection always returns INodeFile. It avoids > unnecessary conversion from BlockCollection to INode/INodeFile after the > change. -- This message was sent by Atlassian JIRA (v6.3.4#6332)