You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2012/10/26 01:59:12 UTC

[jira] [Created] (HDFS-4112) A few improvements on INodeDirectory

Tsz Wo (Nicholas), SZE created HDFS-4112:
--------------------------------------------

             Summary: 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_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