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-12469) distcp shout not ignore the ignoreFailures option
Date Sat, 10 Oct 2015 14:44:05 GMT

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

Hudson commented on HADOOP-12469:
---------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2419 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2419/])
Revert "HADOOP-12469. distcp shout not ignore the ignoreFailures option. (wheat9: rev 7e2c971fedd1195a51203ff12fdfdeb4642f2082)
* hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyMapper.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/mapred/TestCopyMapper.java


> distcp shout not ignore the ignoreFailures option
> -------------------------------------------------
>
>                 Key: HADOOP-12469
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12469
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 2.7.1
>            Reporter: Gera Shegalov
>            Assignee: Mingliang Liu
>            Priority: Critical
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12469.000.patch
>
>
> {{RetriableFileCopyCommand.CopyReadException}} is double-wrapped via
> # via {{RetriableCommand::execute}}
> # via {{CopyMapper#copyFileWithRetry}}
> before {{CopyMapper::handleFailure}} tests 
> {code}
> if (ignoreFailures && exception.getCause() instanceof
>             RetriableFileCopyCommand.CopyReadException
> {code}
> which is always false.
> Orthogonally, ignoring failures should be mutually exclusive with the atomic option otherwise
an incomplete dir is eligible for commit defeating the purpose.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message