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

Jason Lowe commented on HADOOP-9912:
------------------------------------

bq. This issue is not related to .snapshot support, this issue is caused by add 
symlink support to HDFS and LocalFileSystem but not handle consistency well.

If this has nothing to do with snapshot support, then why did the behavior of 
globStatus and symlinks change with HADOOP-9877 which appears to be a 
snapshot-related JIRA?

listStatus needs to follow symlinks, even in the HDFS case, otherwise symlinks 
are not very useful.  If symlinks never auto-resolve, then every client will 
have to be symlink-aware and manually resolve the link for the symlink feature 
to be useful in practice.
                
> globStatus of a symlink to a directory does not report symlink as a directory
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-9912
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9912
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.3.0
>            Reporter: Jason Lowe
>            Priority: Blocker
>         Attachments: HADOOP-9912-testcase.patch
>
>
> globStatus for a path that is a symlink to a directory used to report the 
> resulting FileStatus as a directory but recently this has changed.

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