Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DAF11007E for ; Fri, 2 Aug 2013 18:41:53 +0000 (UTC) Received: (qmail 72425 invoked by uid 500); 2 Aug 2013 18:41:52 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 72291 invoked by uid 500); 2 Aug 2013 18:41:52 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 72271 invoked by uid 99); 2 Aug 2013 18:41:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2013 18:41:50 +0000 Date: Fri, 2 Aug 2013 18:41:50 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4019) FSShell should support creating symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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