[ 
https://issues.apache.org/jira/browse/HADOOP-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated HADOOP-8040:
--------------------------------

    Attachment: hadoop-8040-2.patch

New consolidated patch, hopefully hit all the test-patch errors. Revved the 
patches on the sub-JIRAs as well.

One further caveat I wanted to ask about: {{FileSystem#create}} always creates 
parents, and we instead have a separate, deprecated {{createNonRecursive}} 
method. {{FileSystemTestWrapper}} currently calls plain {{#create}} and I 
forcibly ignore symlink tests that check the non-recursive behavior. If it's 
okay to use the deprecated function, I can switch it to use 
{{createNonRecursive}} and re-enable the ignored test.
                
> Add symlink support to FileSystem
> ---------------------------------
>
>                 Key: HADOOP-8040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8040
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.23.0, 3.0.0, 2.0.3-alpha
>            Reporter: Eli Collins
>            Assignee: Andrew Wang
>         Attachments: hadoop-8040-1.patch, hadoop-8040-2.patch
>
>
> HADOOP-6421 added symbolic links to FileContext. Resolving symlinks is done 
> on the client-side, and therefore requires client support. An HDFS symlink 
> (created by FileContext) when accessed by FileSystem will result in an 
> unhandled UnresolvedLinkException. Because not all users will migrate from 
> FileSystem to FileContext in lock step, and we want users of FileSystem to be 
> able to access all paths created by FileContext, we need to support symlink 
> resolution in FileSystem as well, to facilitate migration to FileContext.

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