[
https://issues.apache.org/jira/browse/MAPREDUCE-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757057#action_12757057
]
Hudson commented on MAPREDUCE-645:
----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #49 (See
[http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/49/])
. Prevent distcp from running a job when the destination is a
file, but the source is not. Contributed by Ravi Gummadi
> When disctp is used to overwrite a file, it should return immediately with an
> error message
> -------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-645
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-645
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: distcp
> Reporter: Ramya R
> Assignee: Ravi Gummadi
> Priority: Minor
> Fix For: 0.21.0
>
> Attachments: d_645.patch, d_645_v1.patch, distcp.txt
>
>
> When disctp is triggered to copy a directory to an already existing file, it
> just shows a "copy failed" error message after 4 attempts without showing any
> useful error message. This is extremely time consuming on a large cluster and
> especially when the directory being copied contains several sub-directories.
> Instead, it would be an improvement if distcp could return immediately
> displaying a useful error message when an user attempts such an operation.
> (This is an unlikely situation but still a valid test case)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.