You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/09/20 22:36:58 UTC

[jira] [Created] (HADOOP-9984) FileSystem#globStatus and FileSystem#listStatus should resolve symlinks by default

Colin Patrick McCabe created HADOOP-9984:
--------------------------------------------

             Summary: FileSystem#globStatus and FileSystem#listStatus should resolve symlinks by default
                 Key: HADOOP-9984
                 URL: https://issues.apache.org/jira/browse/HADOOP-9984
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.1.0-beta
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


During the process of adding symlink support to FileSystem, we realized that many existing HDFS clients would be broken by listStatus and globStatus returning symlinks.  One example is applications that assume that !FileStatus#isFile implies that the inode is a directory.  As we discussed in HADOOP-9972 and HADOOP-9912, we should default these APIs to returning resolved paths.

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