hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10129) Distcp may succeed when it fails
Date Fri, 06 Dec 2013 13:42:40 GMT

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

Hudson commented on HADOOP-10129:
---------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1604 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1604/])
Move HADOOP-10129 from 0.23.10 to 0.23.11 in CHANGES.txt (daryn: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1548194)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
HADOOP-10129. Distcp may succeed when it fails (daryn) (daryn: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1548175)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/pom.xml
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/SimpleCopyListing.java
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/RetriableFileCopyCommand.java
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/TestCopyListing.java
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/mapred/TestRetriableFileCopyCommand.java


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

Mime
View raw message