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 CBA6DDD08 for ; Mon, 1 Oct 2012 21:31:08 +0000 (UTC) Received: (qmail 16415 invoked by uid 500); 1 Oct 2012 21:31:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 16373 invoked by uid 500); 1 Oct 2012 21:31:08 -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 16363 invoked by uid 99); 1 Oct 2012 21:31:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 21:31:08 +0000 Date: Tue, 2 Oct 2012 08:31:08 +1100 (NCT) From: "Robert Joseph Evans (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <550189908.151053.1349127068405.JavaMail.jiratomcat@arcas> In-Reply-To: <1752575995.8650.1335255094395.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8310) FileContext#checkPath should handle URIs with no port 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-8310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Joseph Evans updated HADOOP-8310: ---------------------------------------- Fix Version/s: (was: 0.23.5) 0.23.4 > FileContext#checkPath should handle URIs with no port > ----------------------------------------------------- > > Key: HADOOP-8310 > URL: https://issues.apache.org/jira/browse/HADOOP-8310 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 2.0.0-alpha > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Fix For: 2.0.0-alpha, 0.23.4 > > Attachments: HADOOP-8310.patch > > > AbstractFileSystem#checkPath is used to verify that a given path is for the same file system as represented by the AbstractFileSystem instance. > The original intent of the code was to allow for no port to be provided in the checked path, if the default port was being used by the AbstractFileSystem instance. However, before performing port handling, AFS#checkPath compares the full URI authorities for equality. Since the URI authority includes the port, the port handling code is never reached, and thus valid paths may be erroneously considered invalid. -- 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