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 780E3200B73 for ; Mon, 15 Aug 2016 02:35:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A368160AB4; Mon, 15 Aug 2016 00:35:30 +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 AD5E7160AA9 for ; Mon, 15 Aug 2016 02:35:29 +0200 (CEST) Received: (qmail 97634 invoked by uid 500); 15 Aug 2016 00:35:23 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 97623 invoked by uid 99); 15 Aug 2016 00:35:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2016 00:35:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 95D7B2C02A1 for ; Mon, 15 Aug 2016 00:35:22 +0000 (UTC) Date: Mon, 15 Aug 2016 00:35:22 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16411) BackupDistCp#execute() should throw exception if the distcp job fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 15 Aug 2016 00:35:30 -0000 [ https://issues.apache.org/jira/browse/HBASE-16411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-16411: --------------------------- Description: In some case, IncrementalTableBackupProcedure#incrementalCopy() wouldn't detect the failed job, leading to potential data loss. BackupDistCp#execute() should throw exception if the wrapped distcp job fails. This would allow IncrementalTableBackupProcedure#incrementalCopy() to properly respond to job failure. was: User may run hadoop release which doesn't have fix for HADOOP-13489. In that case, IncrementalTableBackupProcedure#incrementalCopy() wouldn't detect the failed job, leading to potential data loss. BackupDistCp#execute() should throw exception if the wrapped distcp job fails. This would allow IncrementalTableBackupProcedure#incrementalCopy() to properly respond to job failure. > BackupDistCp#execute() should throw exception if the distcp job fails > --------------------------------------------------------------------- > > Key: HBASE-16411 > URL: https://issues.apache.org/jira/browse/HBASE-16411 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Labels: backup > Attachments: 16411.v1.txt > > > In some case, IncrementalTableBackupProcedure#incrementalCopy() wouldn't detect the failed job, leading to potential data loss. > BackupDistCp#execute() should throw exception if the wrapped distcp job fails. This would allow IncrementalTableBackupProcedure#incrementalCopy() to properly respond to job failure. -- This message was sent by Atlassian JIRA (v6.3.4#6332)