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 AC32A9EDF for ; Thu, 27 Oct 2011 19:02:54 +0000 (UTC) Received: (qmail 66086 invoked by uid 500); 27 Oct 2011 19:02:53 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 66007 invoked by uid 500); 27 Oct 2011 19:02:53 -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 65819 invoked by uid 99); 27 Oct 2011 19:02:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 19:02:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 19:02:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F2AF1323745 for ; Thu, 27 Oct 2011 19:00:32 +0000 (UTC) Date: Thu, 27 Oct 2011 19:00:32 +0000 (UTC) From: "Kihwal Lee (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1348382952.25968.1319742032995.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <92042485.70969.1307347427375.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7360) FsShell does not preserve relative paths with globs 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-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137394#comment-13137394 ] Kihwal Lee commented on HADOOP-7360: ------------------------------------ # {{lookupStat}} is back to accepting String as an arg. ctors are also back to the way it was in the last patch. # {{checkIfDirectory}}: I think now I have made it super clear what is asked. # {{stringToUri}}: Changed the scheme parsing. Now the method accepts ":foo/bar" as a scheme-less, authority-less path compoenent. It should not matter since this is not the place to enforce scheme-specific requirements on the following components. # Calls to {{URI.create()}} in {{relativize}}: Changed to use the safe method. Added a safer uriToString method. > FsShell does not preserve relative paths with globs > --------------------------------------------------- > > Key: HADOOP-7360 > URL: https://issues.apache.org/jira/browse/HADOOP-7360 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 0.23.0 > Reporter: Daryn Sharp > Assignee: Kihwal Lee > Fix For: 0.23.0 > > Attachments: HADOOP-7360-2.patch, HADOOP-7360-3.patch, HADOOP-7360-4.patch, HADOOP-7360.patch, HADOOP-7360.txt, HADOOP-7360.txt > > > FsShell currently preserves relative paths that do not contain globs. Unfortunately the method {{fs.globStatus()}} is fully qualifying all returned paths. This is causing inconsistent display of paths. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira