hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16410) Retry distcp job when previous distcp job didn't succeed
Date Fri, 12 Aug 2016 19:51:20 GMT

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

Ted Yu commented on HBASE-16410:
--------------------------------

Ran through org.apache.hadoop.hbase.backup.\* tests which all passed.

> Retry distcp job when previous distcp job didn't succeed
> --------------------------------------------------------
>
>                 Key: HBASE-16410
>                 URL: https://issues.apache.org/jira/browse/HBASE-16410
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 16410.v1.txt
>
>
> Currently when copyService.copy() returns non-zero return value, we throw exception:
> {code}
>         throw new IOException("Failed of Hadoop Distributed Copy from "+
>             StringUtils.join(incrBackupFileList, ",") +" to "
>           + backupContext.getHLogTargetDir());
> {code}
> We should retry distcp job when the return value is non-zero instead of throwing IOException
immediately.



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

Mime
View raw message