Andrew Wang created HDFS-5026:
---------------------------------

             Summary: getFileStatus and getFileLinkStatus do not properly 
handle intermediate symlinks in a path
                 Key: HDFS-5026
                 URL: https://issues.apache.org/jira/browse/HDFS-5026
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Andrew Wang


Imagine a filesystem with the following:

{noformat}
/dir
/dir/file
/dirLink -> /dir
{noformat}

When calling getFileStatus or getFileLinkStatus on {{/dirLink/file}}, the 
returned FileStatus incorrectly has the resolved path of {{/dir/file}}. This 
differs from expectations and the Unix {{stat(1)}} command, which would return 
{{/dirLink/file}}.

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