You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/08/02 20:41:50 UTC

[jira] [Commented] (HDFS-4019) FSShell should support creating symlinks

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

Colin Patrick McCabe commented on HDFS-4019:
--------------------------------------------

In this patch, I added the -s flag and a better description for ln.  globStatus should also be fixed (and I added more unit tests as requested).  But let's discuss globStatus on HADOOP-9817.
                
> FSShell should support creating symlinks
> ----------------------------------------
>
>                 Key: HDFS-4019
>                 URL: https://issues.apache.org/jira/browse/HDFS-4019
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-4019.001.patch, HDFS-4019.002.patch
>
>
> FSShell should support creating symlinks.  This would allow users to create symlinks from the shell without having to write a Java program.
> One thing that makes this complicated is that FSShell currently uses FileSystem internally, and symlinks are currently only supported by the FileContext API.  So either FSShell would have to be ported to FileContext, or symlinks would have to be added to FileSystem.  Or perhaps we could open a FileContext only when symlinks were necessary, but that seems messy.

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