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

Binglin Chang commented on HADOOP-9912:
---------------------------------------

I grep all the usage in hadoop code base, here are some listStatus usage we 
need to consider:
listStatus is used in 
  FileSystem.getContentSummary use listStatus to traverse dir, I think it 
should not follow symlink
  Distcp use listStatus to traverse src dir, should not follow too..
  FileUtil.copy copy directory recursively, not sure
When consider semantics and compatibility, these should also be considered.

                
> 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