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

Eli Collins updated HADOOP-6421:
--------------------------------

    Attachment: symlink34-common.patch

Patch attached. FileContext#createSymlink now has a createParent parameter. I 
left the directory (and link) permission out of the FileContext interface, 
don't think it's complex enough to justify CreateOpts. I did plumb the link 
permissions up to ClientProtocol so if we wanted to have 
FileContext#createSymlink specify link permissions that would be a client side 
only change. I also added a common symlink test to verify that the parent is 
created when createParent is true and not when createParent is false. Updated 
the javadocs per your comment and to reflect the API change; ant javadoc and 
javadoc-dev are clean. Rebased against the latest bits from trunk.

> Symbolic links
> --------------
>
>                 Key: HADOOP-6421
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6421
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: symlink-25-common.patch, symlink-26-common.patch, 
> symlink-26-common.patch, symlink24-common.patch, symlink27-common.patch, 
> symlink28-common.patch, symlink29-common.patch, symlink29-common.patch, 
> symlink29-common.patch, symlink30-common.patch, symlink31-common.patch, 
> symlink32-common.patch, symlink33-common.patch, symlink34-common.patch
>
>
> Here's a jira for the common parts of HDFS-245, mostly changes to FileContext 
> and AbstractFileSystem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to