hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya Sunil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6277) WebHdfsFileSystem#toUrl does not perform character escaping for rename
Date Wed, 23 Apr 2014 21:40:15 GMT
Ramya Sunil created HDFS-6277:
---------------------------------

             Summary: WebHdfsFileSystem#toUrl does not perform character escaping for rename

                 Key: HDFS-6277
                 URL: https://issues.apache.org/jira/browse/HDFS-6277
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 1.2.1
            Reporter: Ramya Sunil
            Assignee: Chris Nauroth


Found this issue while testing HDFS-6141. WebHdfsFileSystem#toUrl  does not perform character
escaping for rename and causes the operation to fail. 
This bug does not exist on 2.x

For e.g: 
$ hadoop dfs -rmr 'webhdfs://<namenode>:<port>/tmp/test dirname with spaces'
Problem with Trash.Unexpected HTTP response: code=400 != 200, op=RENAME, message=Bad Request.
Consider using -skipTrash option
rmr: Failed to move to trash: webhdfs://<namenode>:<port>/tmp/test dirname with
spaces



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message