[
https://issues.apache.org/jira/browse/HADOOP-9984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786667#comment-13786667
]
Colin Patrick McCabe commented on HADOOP-9984:
----------------------------------------------
Daryn, the discussion about resolved paths versus unresolved ones belongs on
HADOOP-9780, not here. The current patch here has nothing to do with that
issue. Even if we all agreed to implement HADOOP-9780, doing it in this patch
would be crazy, since the patch is already too big.
Similarly, the discussion about fixing symlink resolution on multi-layered
filesystems belongs on HADOOP-10014. HADOOP-10014 is a pre-existing issue, not
introduced by this patch, and only tangentially related.
bq. Chris said: I don't think it's urgent to do \[HADOOP-9972\] for GA, because
adding the APIs proposed in HADOOP-9972 will be backwards-compatible.
Thanks for the correction. I thought that people agree to do HADOOP-9972 for
2.2, but it seems I misheard. I agree that it could go into either release.
My preference right now would be to get in
http://issues.apache.org/jira/secure/attachment/12606827/HADOOP-9984.015.patch
and address the follow-up issues on the relevant JIRAs.
For meta-comments or more general symlink-related issues, maybe we should
comment on HADOOP-10019, the umbrella JIRA for all the upcoming symlink-related
fixes.
> 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)