From common-issues-return-2928-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Wed Oct 28 09:40:23 2009 Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 45003 invoked from network); 28 Oct 2009 09:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 09:40:22 -0000 Received: (qmail 38911 invoked by uid 500); 28 Oct 2009 09:40:22 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 38803 invoked by uid 500); 28 Oct 2009 09:40:22 -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 38667 invoked by uid 99); 28 Oct 2009 09:40:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 09:40:21 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 09:40:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 661C5234C045 for ; Wed, 28 Oct 2009 02:39:59 -0700 (PDT) Message-ID: <4362655.1256722799406.JavaMail.jira@brutus> Date: Wed, 28 Oct 2009 09:39:59 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6334) GenericOptionsParser does not understand uri for -files -libjars and -archives option In-Reply-To: <1446819000.1256557859417.JavaMail.jira@brutus> 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-6334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770853#action_12770853 ] Amareshwari Sriramadasu commented on HADOOP-6334: ------------------------------------------------- bq.If we add an assumption that there is no # in file/directory names, then this is an incompatible change. If Path allows # in the name. And it is known that it does not support fragment in URI. i.e. URI uri = new URI("file:///foo/bar#baz"); new Path(uri).toString returns only "file:///foo/bar". Then GPO can append fragment portion of the uri, by itself. > GenericOptionsParser does not understand uri for -files -libjars and -archives option > ------------------------------------------------------------------------------------- > > Key: HADOOP-6334 > URL: https://issues.apache.org/jira/browse/HADOOP-6334 > Project: Hadoop Common > Issue Type: Bug > Components: util > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Fix For: 0.22.0 > > Attachments: patch-6334-1.txt, patch-6334.txt > > > If we give an uri for -files, -libjars and -archives option , in GenericOptionsParser. It gives FileNotFoundException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.