[ https://issues.apache.org/jira/browse/MAPREDUCE-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang resolved MAPREDUCE-5620.
------------------------------------
Resolution: Invalid
Turns out this was due to running distcp1 with hadoop 2's FsShell. I couldn't repro this on
a pure branch-1 setup, so resolving as invalid.
> distcp1 -delete fails when target directory contains files with percent signs
> -----------------------------------------------------------------------------
>
> Key: MAPREDUCE-5620
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5620
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 1.2.1
> Reporter: Andrew Wang
> Assignee: Andrew Wang
>
> Debugging a distcp1 issue, it fails to delete extra files in the target directory when
there is a percent sign in the filename. I'm pretty sure this is an issue with how percent
encoding is handled in FsShell (reproduced with just "hadoop fs -rmr"), but we can also fix
this in distcp1 by using FileSystem instead of FsShell. This is what distcp2 does.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
|