Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 63519 invoked from network); 27 Apr 2010 05:05:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 05:05:55 -0000 Received: (qmail 26693 invoked by uid 500); 27 Apr 2010 05:05:55 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26599 invoked by uid 500); 27 Apr 2010 05:05:55 -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 26590 invoked by uid 99); 27 Apr 2010 05:05:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 05:05:54 +0000 X-ASF-Spam-Status: No, hits=-1352.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 05:05:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3R55XHx022238 for ; Tue, 27 Apr 2010 05:05:33 GMT Message-ID: <12946950.25801272344733510.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 01:05:33 -0400 (EDT) From: "Dmytro Molkov (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-1109) HFTP and URL Encoding In-Reply-To: <12524028.169901272066051851.JavaMail.jira@thor> 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-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Molkov updated HDFS-1109: -------------------------------- Status: Open (was: Patch Available) > HFTP and URL Encoding > --------------------- > > Key: HDFS-1109 > URL: https://issues.apache.org/jira/browse/HDFS-1109 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.2, 0.20.1, 0.20.3, 0.21.0, 0.22.0 > Reporter: Dmytro Molkov > Assignee: Dmytro Molkov > Attachments: HDFS-1109.patch > > > We just saw this error happen in our cluster. If there is a file that has a "+" sign in the name it is not readable through HFTP protocol. > The problem is when we are reading a file with HFTP we are passing a name of the file as a parameter in request and + gets undecoded into space on the server side. So the datanode receiving the streamFile request tries to access a file with space instead of + in the name and doesn't find that file. > The proposed solution is to pass the filename as a part of URL as with all the other HFTP commands, since this is the only place where it is not being treated this way. Are there any objections to this? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.