Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 9A13010AD3 for ; Thu, 1 Aug 2013 17:57:54 +0000 (UTC) Received: (qmail 66122 invoked by uid 500); 1 Aug 2013 17:57:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 66084 invoked by uid 500); 1 Aug 2013 17:57:52 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 65986 invoked by uid 99); 1 Aug 2013 17:57:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 17:57:51 +0000 Date: Thu, 1 Aug 2013 17:57:50 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Moved] (HADOOP-9817) FileSystem#globStatus and FileContext#globStatus need to work with 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/HADOOP-9817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe moved HDFS-5048 to HADOOP-9817: ---------------------------------------------------- Key: HADOOP-9817 (was: HDFS-5048) Project: Hadoop Common (was: Hadoop HDFS) > FileSystem#globStatus and FileContext#globStatus need to work with symlinks > --------------------------------------------------------------------------- > > Key: HADOOP-9817 > URL: https://issues.apache.org/jira/browse/HADOOP-9817 > Project: Hadoop Common > Issue Type: Bug > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > > FileSystem#globStatus and FileContext#globStatus need to work with symlinks. Currently, they resolve all links, so that if you have: > {code} > /alpha/beta > /alphaLink -> alpha > {code} > and you take {{globStatus(/alphaLink/*)}}, you will get {{/alpha/beta}}, rather than the expected {{/alphaLink/beta}}. > We even resolve terminal symlinks, which would prevent listing a symlink in FSShell, for example. Instead, we should build up the path incrementally. This will allow the shell to behave as expected, and also allow custom globbers to "see" the correct paths for symlinks. -- 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