[
https://issues.apache.org/jira/browse/HDFS-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501559#comment-13501559
]
Suresh Srinivas commented on HDFS-4215:
---------------------------------------
Thank you for splitting HDFS-4209 and showing kindness toward the reviewer ;-)
+1 for the patch.
> Improvements on INode and image loading
> ---------------------------------------
>
> Key: HDFS-4215
> URL: https://issues.apache.org/jira/browse/HDFS-4215
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4215_20121120.patch
>
>
> - There are multiple places checking whether an inode is file by checking
> !isDirectory() && !isSymlink(). Let's add isFile() to INode.
> - When adding child node to parent in image loading, synchronization is not
> needed.
--
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