[ 
https://issues.apache.org/jira/browse/HDFS-5104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742646#comment-13742646
 ] 

Brandon Li commented on HDFS-5104:
----------------------------------

Thanks!
{quote}How do you propose to handle if some passes 
/.reserved/.inodes/<root_inode>/... It should be an error condition right, 
instead of just returning the root?{quote}
It's not an error since root's parent is still root ("/.." is "/").

                
> Support dotdot name in NFS LOOKUP operation
> -------------------------------------------
>
>                 Key: HDFS-5104
>                 URL: https://issues.apache.org/jira/browse/HDFS-5104
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-5104.patch, HDFS-5104.patch.2
>
>
> Procedure LOOKUP searches a directory for a specific name and returns the 
> file handle for the corresponding file system object. NFS client sets 
> filename as ".." to get the parent directory information.
> Currently ".." is considered invalid name component. We only allow ".." when 
> the path is an inodeID path as "/.reserved/.inodes/.."

--
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

Reply via email to