[
https://issues.apache.org/jira/browse/HDFS-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236650#comment-14236650
]
Haohui Mai commented on HDFS-7476:
----------------------------------
Thanks Chris for the help!
The issue is that when the path is related to snapshot, the capacity and length
of path components are off by 1.
In this case, {{getLastINode()}} does not return to the last inode. The code
needs to call {{INodesInPath#getINodes()}} and get the inode manually.
I fixed it in the v4 patch.
> Consolidate ACL-related operations to a single class
> ----------------------------------------------------
>
> Key: HDFS-7476
> URL: https://issues.apache.org/jira/browse/HDFS-7476
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-7476.000.patch, HDFS-7476.001.patch,
> HDFS-7476.002.patch, HDFS-7476.003.patch, HDFS-7476.004.patch
>
>
> This jira proposes to consolidate ACL-related operations scattered in
> {{FSNamesystem}} and {{FSDirectory}} into a single class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)