[ https://issues.apache.org/jira/browse/HADOOP-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559837#action_12559837 ]
Edward Yoon commented on HADOOP-2635: ------------------------------------- toURI() method was used for running different operating systems (i'm not sure) at RawLocalFileStatus. But, toString() method was used. Therefore, I'll change the f.toURI().toString() to "file:" + f.getPath(). If you have other idea, please let me know. > 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 > > > {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.