[ https://issues.apache.org/jira/browse/HADOOP-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523766 ]
dhruba borthakur commented on HADOOP-1779: ------------------------------------------ This patch should be committed, because it eliminates the need for a "parent" pointer from each INode. This saves precious memory in the namenode. I will reserve my comments about not having access checks along all components of a path lookup for HADOOP-1298. +1 for this patch. > Small INodeDirectory enhancement to get all existing INodes components on a > path > -------------------------------------------------------------------------------- > > Key: HADOOP-1779 > URL: https://issues.apache.org/jira/browse/HADOOP-1779 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Reporter: Christophe Taton > Assignee: Christophe Taton > Priority: Trivial > Fix For: 0.15.0 > > Attachments: 1779_2007-08-27c.patch > > > This patch introduces {{INode[] INodeDirectory.getExistingPathINodes(String > path)}}, modeled over the existing {{getNode()}} / {{getINode()}}. > The purpose of this is to provide a way to retrieve all existing INodes in a > path in a single tree scan. > This to allow fast INode's permission (see > [HADOOP-1298|https://issues.apache.org/jira/browse/HADOOP-1298]) checking > along the path, and without requiring the {{INode.parent}} field which could > be removed (see > [HADOOP-1687|https://issues.apache.org/jira/browse/HADOOP-1687]). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.