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 6E9C2200C24 for ; Thu, 9 Feb 2017 01:17:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6D549160B67; Thu, 9 Feb 2017 00:17:49 +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 B6180160B49 for ; Thu, 9 Feb 2017 01:17:48 +0100 (CET) Received: (qmail 13562 invoked by uid 500); 9 Feb 2017 00:17:47 -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 13551 invoked by uid 99); 9 Feb 2017 00:17:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2017 00:17:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 48918C05D7 for ; Thu, 9 Feb 2017 00:17:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id OSR0vCSV13OP for ; Thu, 9 Feb 2017 00:17:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D98065F24B for ; Thu, 9 Feb 2017 00:17:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 16D3AE0156 for ; Thu, 9 Feb 2017 00:17:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C64082528B for ; Thu, 9 Feb 2017 00:17:41 +0000 (UTC) Date: Thu, 9 Feb 2017 00:17:41 +0000 (UTC) From: "Vladimir Rodionov (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15928) hbase backup delete command does not remove backup root dir from hdfs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Feb 2017 00:17:49 -0000 [ https://issues.apache.org/jira/browse/HBASE-15928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Rodionov updated HBASE-15928: -------------------------------------- Affects Version/s: (was: 2.0.0) > hbase backup delete command does not remove backup root dir from hdfs > --------------------------------------------------------------------- > > Key: HBASE-15928 > URL: https://issues.apache.org/jira/browse/HBASE-15928 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Labels: backup > Fix For: HBASE-7912 > > Attachments: 15928.v1.txt > > > [~romil.choksi] reported the following bug. > hbase backup delete command successfully deletes backup > {code} > hbase@hbase-backup-test-5:~> hbase backup delete backup_1464217940560 > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > Delete backup failed: no information found for backupID=delete > 2016-05-26 01:44:40,077 INFO [main] impl.BackupUtil: No data has been found in hdfs://hbase-backup-test-5.openstacklocal:8020/user/hbase/backup_1464217940560/default/t1. > 2016-05-26 01:44:40,081 INFO [main] impl.BackupUtil: No data has been found in hdfs://hbase-backup-test-5.openstacklocal:8020/user/hbase/backup_1464217940560/default/t2. > 2016-05-26 01:44:40,085 INFO [main] impl.BackupUtil: No data has been found in hdfs://hbase-backup-test-5.openstacklocal:8020/user/hbase/backup_1464217940560/default/t3. > Delete backup for backupID=backup_1464217940560 completed. > {code} > Listing the backup directory of the backup that was just deleted > {code} > hbase@hbase-backup-test-5:~> hdfs dfs -ls /user/hbase > Found 37 items > drwx------ - hbase hbase 0 2016-05-25 23:13 /user/hbase/.staging > drwxr-xr-x - hbase hbase 0 2016-05-24 19:42 /user/hbase/backup_1464047611132 > .... > drwxr-xr-x - hbase hbase 0 2016-05-25 23:08 /user/hbase/backup_1464217727296 > drwxr-xr-x - hbase hbase 0 2016-05-26 01:44 /user/hbase/backup_1464217940560 > {code} > Backup root dir still exists -- This message was sent by Atlassian JIRA (v6.3.15#6346)