Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A78BD514 for ; Fri, 19 Oct 2012 21:04:13 +0000 (UTC) Received: (qmail 78627 invoked by uid 500); 19 Oct 2012 21:04:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 78581 invoked by uid 500); 19 Oct 2012 21:04:12 -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 78521 invoked by uid 99); 19 Oct 2012 21:04:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 21:04:12 +0000 Date: Fri, 19 Oct 2012 21:04:12 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1057946204.3046.1350680652571.JavaMail.jiratomcat@arcas> In-Reply-To: <1376528513.1233.1349376828316.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HBASE-6949) Automatically delete empty directories in CleanerChore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-6949: ------------------------- Resolution: Fixed Fix Version/s: (was: 0.94.3) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to trunk. Nice tests. I ran the tests and suite locally and nothing unusual. Did not commit to 0.94. Bug Lars Jesse. Thanks for the patch. > Automatically delete empty directories in CleanerChore > ------------------------------------------------------ > > Key: HBASE-6949 > URL: https://issues.apache.org/jira/browse/HBASE-6949 > Project: HBase > Issue Type: Bug > Affects Versions: 0.94.3, 0.96.0 > Reporter: Jesse Yates > Assignee: Jesse Yates > Fix For: 0.96.0 > > Attachments: hbase-6949-v0.patch, hbase-6949-v1.patch > > > Currently the CleanerChore asks cleaner delegates if both directories and files should be deleted. However, this leads to somewhat odd behavior in some delegates - you don't actually care if the directory hierarchy is preserved, the files; this means you always will delete directories and then implement the logic you actually want for preserving files. Instead we can handle this logic one layer higher in the CleanerChore and let the delegates just worry about preserving files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira