hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-5620) distcp1 -delete fails when target directory contains files with percent signs
Date Wed, 13 Nov 2013 00:13:18 GMT

     [ 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)

Mime
View raw message