hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4019) FSShell should support creating symlinks
Date Tue, 09 Oct 2012 01:10:03 GMT

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

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

bq. Dupe of HDFS-1788 and HADOOP-6424?

Those are good JIRAs to read for context, but they aren't quite the same.  The first one talks
about porting FSShell to FileContext (nothing about symlinks in there per se), and the second
one talks about showing symlink properties (but not creating sylinks.)

bq. Btg, per HADOOP-7905, we shouldn't allow people to easily create symlinks until, at a
minimum, they're supported in FileSystem and we've got a release with that code. Otherwise
it will be easy for someone to create paths that others can't resolve.

Forgive my ignorance, but what happens now when you try to access symlinks through FileSystem?
 There has to be some kind of compatibility story in place already, right?

Per your suggestion, I'm going to list HADOOP-7905 as a blocker for this JIRA.  Feel free
to change if you want.

bq. how could i to unsubscribe this post, thank you!

click on "stop watching this issue" to stop watching this issue.
                
> 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: Andy Isaacson
>            Priority: Minor
>
> 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

Mime
View raw message