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 2015/10/12 19:34:05 UTC
[jira] [Created] (HADOOP-12473) distcp's ignoring failures should
be mutually exclusive with the atomic option
Mingliang Liu created HADOOP-12473:
--------------------------------------
Summary: distcp's ignoring failures should be mutually exclusive with the atomic option
Key: HADOOP-12473
URL: https://issues.apache.org/jira/browse/HADOOP-12473
Project: Hadoop Common
Issue Type: Bug
Components: tools/distcp
Affects Versions: 2.7.1
Reporter: Mingliang Liu
Assignee: Mingliang Liu
Priority: Critical
Fix For: 2.8.0
{{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)