[ https://issues.apache.org/jira/browse/HDFS-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626883#comment-13626883 ]
Daryn Sharp commented on HDFS-4434: ----------------------------------- Sure. Today I can't determine path names if I don't have access to any of its ancestor directories. With this patch's inode resolution I can figure out path names. As Sanjay pointed out, the permission checker throws an exception with only the path fragment that access permissions allow you to see. That mitigates the issue _if_ the permission check is the _first_ check applied to an inode resolved path. It's not in many cases - ex. a safe mode exception, or other pre-conditions prior to the permission check, will divulge the full path resolved from an inode. It appears to generally be a simple ordering issue. > Provide a mapping from INodeId to INode > --------------------------------------- > > Key: HDFS-4434 > URL: https://issues.apache.org/jira/browse/HDFS-4434 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Affects Versions: 3.0.0 > Reporter: Brandon Li > Assignee: Suresh Srinivas > Attachments: HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, > HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, > HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, > HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, HDFS-4434.patch, > HDFS-4434.patch, HDFS-4434.patch > > > This JIRA is to provide a way to access the INode via its id. The proposed > solution is to have an in-memory mapping from INodeId to INode. -- 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