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 "Mingliang Liu (JIRA)" <ji...@apache.org> on 2016/05/04 02:54:12 UTC
[jira] [Updated] (HADOOP-12469) distcp should not ignore the
ignoreFailures option
[ https://issues.apache.org/jira/browse/HADOOP-12469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mingliang Liu updated HADOOP-12469:
-----------------------------------
Attachment: HADOOP-12469.006.patch
Thanks [~jingzhao] for the comments. The v6 patch is to address this.
> distcp should 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
> Attachments: HADOOP-12469.000.patch, HADOOP-12469.001.patch, HADOOP-12469.002.patch, HADOOP-12469.003.patch, HADOOP-12469.004.patch, HADOOP-12469.005.patch, HADOOP-12469.005.patch, HADOOP-12469.006.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)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org