[ https://issues.apache.org/jira/browse/HDFS-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang resolved HDFS-5026. ------------------------------- Resolution: Not A Problem > 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 > Affects Versions: 3.0.0, 2.1.0-beta > 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