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 Wed, 22 Jan 2014 03:40:23 GMT

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

Colin Patrick McCabe commented on HDFS-4019:

Thanks for the review, Steve.  Since symlinks are currently disabled in branch-2, it might
be better to work on the subtasks of HADOOP-10019 first.  Some of them touch on semantic issues
like the one you pointed out (what happens when the target exists already and is a directory,
etc.)  I think it will be difficult to get a shell command that works well until we decide
on things like HADOOP-9780 (just to pick one 10019 subtask)

> 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, HDFS-4019.003.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 was sent by Atlassian JIRA

View raw message