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 4944D11790 for ; Tue, 29 Jul 2014 00:45:40 +0000 (UTC) Received: (qmail 70323 invoked by uid 500); 29 Jul 2014 00:45:40 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 70279 invoked by uid 500); 29 Jul 2014 00:45:39 -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 70262 invoked by uid 99); 29 Jul 2014 00:45:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2014 00:45:39 +0000 Date: Tue, 29 Jul 2014 00:45:39 +0000 (UTC) From: "Andrew Wang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10876) The constructor of Path should not take an empty URL as a parameter 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-10876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HADOOP-10876: --------------------------------- Resolution: Fixed Fix Version/s: 2.6.0 Status: Resolved (was: Patch Available) Merged to trunk and branch-2, thanks Zhihai! > The constructor of Path should not take an empty URL as a parameter > ------------------------------------------------------------------- > > Key: HADOOP-10876 > URL: https://issues.apache.org/jira/browse/HADOOP-10876 > Project: Hadoop Common > Issue Type: Bug > Reporter: zhihai xu > Assignee: zhihai xu > Fix For: 2.6.0 > > Attachments: HADOOP-10876.000.patch, HADOOP-10876.001.patch > > > The constructor of Path should not take an empty URL as a parameter, As discussed in HADOOP-10820, This JIRA is to change Path constructor at public Path(URI aUri) to check the empty URI and throw IllegalArgumentException for empty URI. -- This message was sent by Atlassian JIRA (v6.2#6252)