Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 338157DF3 for ; Tue, 9 Aug 2011 21:04:50 +0000 (UTC) Received: (qmail 71804 invoked by uid 500); 9 Aug 2011 21:04:50 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 71669 invoked by uid 500); 9 Aug 2011 21:04:49 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 71660 invoked by uid 99); 9 Aug 2011 21:04:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 21:04:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 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; Tue, 09 Aug 2011 21:04:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 79E39B4BCE for ; Tue, 9 Aug 2011 21:04:27 +0000 (UTC) Date: Tue, 9 Aug 2011 21:04:27 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <695190692.21609.1312923867495.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1967411323.15507.1312776927116.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2235) Hftp doesn't support paths with semicolons 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/HDFS-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-2235: ------------------------------ Attachment: hdfs-2235-1.patch Patch attached. Modifies the various Hftp and servlets (data, streamFile, fileChecksum, getFileChecksum, and contentSummary) to pass encoded paths in the URI path component. Fixes redirection handling to use URLs so we don't re-encode paths during redirection. This patch depends on the methods introduced in HADOOP-7531. I ended up using Commons Http client's URIUtil class as it was more suitable. > Hftp doesn't support paths with semicolons > ------------------------------------------ > > Key: HDFS-2235 > URL: https://issues.apache.org/jira/browse/HDFS-2235 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.23.0 > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: 0.23.0 > > Attachments: hdfs-2235-1.patch > > > Hftp does not support paths which contain semicolons. The commented out test in HDFS-2234 illustrates this. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira