[
https://issues.apache.org/jira/browse/HDFS-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-4112:
-----------------------------------------
Attachment: h4112_20121025c.patch
h4112_20121025c.patch: reverts the ThreadLocal changes.
> 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