You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/07/24 01:54:49 UTC

[jira] [Created] (HDFS-5026) getFileStatus and getFileLinkStatus do not properly handle intermediate symlinks in a path

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