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 F38AC200B21 for ; Fri, 10 Jun 2016 22:41:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F24C7160A5A; Fri, 10 Jun 2016 20:41:23 +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 70512160A15 for ; Fri, 10 Jun 2016 22:41:23 +0200 (CEST) Received: (qmail 55810 invoked by uid 500); 10 Jun 2016 20:41:21 -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 55766 invoked by uid 99); 10 Jun 2016 20:41:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 20:41:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89C132C1F68 for ; Fri, 10 Jun 2016 20:41:21 +0000 (UTC) Date: Fri, 10 Jun 2016 20:41:21 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16009) Restoring an incremental backup should not require -overwrite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Jun 2016 20:41:24 -0000 Ted Yu created HBASE-16009: ------------------------------ Summary: Restoring an incremental backup should not require -overwrite Key: HBASE-16009 URL: https://issues.apache.org/jira/browse/HBASE-16009 Project: HBase Issue Type: Bug Reporter: Ted Yu When I tried to restore an incremental backup, hbase restore hdfs://hbase-test-rc-rerun-6:8020/user/hbase backup_1465575766499 t1 t2 I got: {code} 2016-06-10 19:53:11,317 ERROR [main] impl.RestoreClientImpl: ERROR: restore failed with error: Existing table found in target while no "-overwrite" option found java.io.IOException: Existing table found in target while no "-overwrite" option found at org.apache.hadoop.hbase.backup.impl.RestoreClientImpl.checkTargetTables(RestoreClientImpl.java:186) at org.apache.hadoop.hbase.backup.impl.RestoreClientImpl.restore(RestoreClientImpl.java:108) at org.apache.hadoop.hbase.backup.RestoreDriver.parseAndRun(RestoreDriver.java:169) at org.apache.hadoop.hbase.backup.RestoreDriver.doWork(RestoreDriver.java:198) {code} The above check should only be performed for restoring full backup. -- This message was sent by Atlassian JIRA (v6.3.4#6332)