hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-12469) Ignore failures option ignored
Date Fri, 09 Oct 2015 01:30:30 GMT
Gera Shegalov created HADOOP-12469:
--------------------------------------

             Summary: Ignore failures option ignored
                 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
            Priority: Critical


{{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