Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 90FC0200B70 for ; Fri, 12 Aug 2016 20:16:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A8A2160A85; Fri, 12 Aug 2016 18:16:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2CFC160AB0 for ; Fri, 12 Aug 2016 20:16:21 +0200 (CEST) Received: (qmail 96233 invoked by uid 500); 12 Aug 2016 18:16:20 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 96200 invoked by uid 99); 12 Aug 2016 18:16:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2016 18:16:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 885062C02A1 for ; Fri, 12 Aug 2016 18:16:20 +0000 (UTC) Date: Fri, 12 Aug 2016 18:16:20 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16410) Retry distcp job when previous distcp job didn't succeed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 12 Aug 2016 18:16:22 -0000 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)