You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/01/04 18:37:00 UTC

[jira] [Resolved] (YARN-4299) Distcp fails even if ignoreFailures option is set

     [ https://issues.apache.org/jira/browse/YARN-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prabhu Joseph resolved YARN-4299.
---------------------------------
    Resolution: Duplicate

> Distcp fails even if ignoreFailures option is set
> -------------------------------------------------
>
>                 Key: YARN-4299
>                 URL: https://issues.apache.org/jira/browse/YARN-4299
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Prabhu Joseph
>            Priority: Major
>
> hadoop distcp fails even if ignoreFailures option is set using -i option.
> When an IOException is thrown from RetriableFileCopyCommand, the hadoopFailures method in CopyMapper does not honor ignoreFailures.
>     if (ignoreFailures && exception.getCause() instanceof RetriableFileCopyCommand.CopyReadException)
> OR should be used above.
> And there is one more bug, when i wrap IOException with CopyReadException, the exception.getCause is still IOException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org