You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/04/17 22:28:15 UTC

[jira] Commented: (HADOOP-5173) When disctp is used to overwrite a file, it should return immediately with an error message

    [ https://issues.apache.org/jira/browse/HADOOP-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700316#action_12700316 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5173:
------------------------------------------------

After a job is submitted, the map/reduce frame control how the job runs and how to handle the failures.

As shown in the output (distcp.txt), you may "consider running with -i".

> When disctp is used to overwrite a file, it should return immediately with an error message
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5173
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5173
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 0.18.3
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.18.4
>
>         Attachments: 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.