[ 
https://issues.apache.org/jira/browse/HDFS-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo Nicholas Sze updated HDFS-9527:
--------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.0
           Status: Resolved  (was: Patch Available)

I have committed this.

> 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
>             Fix For: 2.8.0
>
>         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)

Reply via email to