hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4112) A few improvements on INodeDirectory
Date Fri, 26 Oct 2012 02:39:12 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484658#comment-13484658
] 

Suresh Srinivas commented on HDFS-4112:
---------------------------------------

+1 for the patch.
                
> A few improvements on INodeDirectory
> ------------------------------------
>
>                 Key: HDFS-4112
>                 URL: https://issues.apache.org/jira/browse/HDFS-4112
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h4112_20121025b.patch, h4112_20121025c.patch, h4112_20121025.patch
>
>
> Below are a few improvements on INodeDirectory
> - Add a utility method for casting from INode;
> - avoid creating new empty list and INode arrays;
> - renames getChildren() and getChildrenRaw(), rewrite the javadoc.
> Also,
> - clean up isDirEmpty(..) and isEmpty() in FSDirectory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message