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

Andrew Wang commented on HADOOP-9984:
-------------------------------------

I'm sympathetic to Colin's desire to just get the current scope of this patch 
committed, since we're already on the 15th patch revision and it seems 
basically good to go besides the {{FileStatus#getPath}} question. We can 
discuss that question in a follow-up which we can again mark as blocker for 2.3.

The JIRA descriptions are a bit confusing right now, but I believe that 
{{HADOOP-9780}} is intended to be the place for discussing whether 
{{FileStatus#getPath()}} should return a resolved or unresolved path, while 
{{HDFS-5294}} is the same question for the link target.

Daryn, Sanjay, if this is acceptable, I'll go ahead and do a review of the 
current v15 patch. I'll also try to clarify the follow-on JIRA descriptions as 
per my above interpretation.

> 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: Sub-task
>          Components: fs
>    Affects Versions: 2.1.0-beta
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Blocker
>         Attachments: HADOOP-9984.001.patch, HADOOP-9984.003.patch, 
> HADOOP-9984.005.patch, HADOOP-9984.007.patch, HADOOP-9984.009.patch, 
> HADOOP-9984.010.patch, HADOOP-9984.011.patch, HADOOP-9984.012.patch, 
> HADOOP-9984.013.patch, HADOOP-9984.014.patch, HADOOP-9984.015.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to