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 D3EA9200C15 for ; Wed, 8 Feb 2017 22:16:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D2864160B5A; Wed, 8 Feb 2017 21:16:46 +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 28945160B49 for ; Wed, 8 Feb 2017 22:16:46 +0100 (CET) Received: (qmail 7297 invoked by uid 500); 8 Feb 2017 21:16:45 -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 7286 invoked by uid 99); 8 Feb 2017 21:16:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2017 21:16:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BEDBD1A04ED for ; Wed, 8 Feb 2017 21:16:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4rBHbEkuWskr for ; Wed, 8 Feb 2017 21:16:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E35D45FB8B for ; Wed, 8 Feb 2017 21:16:43 +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 97303E05BD for ; Wed, 8 Feb 2017 21:16: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 CE00525295 for ; Wed, 8 Feb 2017 21:16:41 +0000 (UTC) Date: Wed, 8 Feb 2017 21:16: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: Wed, 08 Feb 2017 21:16:47 -0000 [ https://issues.apache.org/jira/browse/HBASE-15928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Rodionov updated HBASE-15928: -------------------------------------- Fix Version/s: (was: 2.0.0) HBASE-7912 > 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 > Affects Versions: 2.0.0 > 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)