[ 
https://issues.apache.org/jira/browse/HADOOP-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Yoon updated HADOOP-2635:
--------------------------------

    Attachment: 2635.patch

Here's a patch.

> If local file included a '%' character in a file name, we can't copy to dfs 
> becuase RawLocalFileSystem.getPath() returns urlencoded '%25'
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2635
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2635
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.16.0
>            Reporter: Edward Yoon
>            Assignee: Edward Yoon
>             Fix For: 0.16.0
>
>         Attachments: 2635.patch
>
>
> {code}
> FileStatus fileStatus = new RawLocalFileStatus(new 
> File("udanax/Ageha100%.html"), getDefaultBlockSize());
> LOG.info(fileStatus.getPath());
> {code}
> Log :
> file:/root/workspace/hadoop/udanax/Ageha100%25.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to