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