You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/12/05 16:56:35 UTC

[jira] [Updated] (HADOOP-10129) Distcp may succeed when it fails

     [ https://issues.apache.org/jira/browse/HADOOP-10129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-10129:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23.10
                   2.4.0
                   3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Thanks Mithun & Uma.  I've committed to trunk, branch-2, branch-0.23

> Distcp may succeed when it fails
> --------------------------------
>
>                 Key: HADOOP-10129
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10129
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>             Fix For: 3.0.0, 2.4.0, 0.23.10
>
>         Attachments: HADOOP-10129.patch
>
>
> Distcp uses {{IOUtils.cleanup}} to close its output streams w/o previously attempting to close the streams.  {{IOUtils.cleanup}} will swallow close or implicit flush on close exceptions.  As a result, distcp may silently skip files when a partial file listing is generated, and/or appear to succeed when individual copies fail.



--
This message was sent by Atlassian JIRA
(v6.1#6144)