[ 
https://issues.apache.org/jira/browse/MAPREDUCE-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758401#action_12758401
 ] 

gary murry commented on MAPREDUCE-645:
--------------------------------------

Can we get a note about why no new unit tests were added?  Thanks

> 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.

Reply via email to