You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/08/12 18:16:20 UTC

[jira] [Created] (HBASE-16410) Retry distcp job when previous distcp job didn't succeed

Ted Yu created HBASE-16410:
------------------------------

             Summary: 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


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)