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 AE595E73C for ; Wed, 2 Jan 2013 00:22:13 +0000 (UTC) Received: (qmail 20531 invoked by uid 500); 2 Jan 2013 00:22:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20496 invoked by uid 500); 2 Jan 2013 00:22:13 -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 20485 invoked by uid 99); 2 Jan 2013 00:22:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 00:22:13 +0000 Date: Wed, 2 Jan 2013 00:22:13 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7467) CleanerChore checkAndDeleteDirectory not deleting empty directories. 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-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541953#comment-13541953 ] Ted Yu commented on HBASE-7467: ------------------------------- I would wait for Lars' decision on inclusion for 0.94 0.94 test suite validation is also needed. @Jean-Marc: Can you attach patch for 0.94 ? > CleanerChore checkAndDeleteDirectory not deleting empty directories. > -------------------------------------------------------------------- > > Key: HBASE-7467 > URL: https://issues.apache.org/jira/browse/HBASE-7467 > Project: HBase > Issue Type: Bug > Reporter: Jean-Marc Spaggiari > Priority: Minor > Fix For: 0.96.0, 0.94.5 > > Attachments: 7465_7467-v5.txt, HBASE-7465_7467-v3.patch, HBASE-7465_7467-v4.patch, HBASE-7467.patch, HBASE-7467-v2.patch > > > CleanerChore checkAndDeleteDirectory is not deleting empty directories. As a result, some directories are kept in the FS but should have been removed. > To reproduce, simply create an empty directory under /hbase/.archive/table_name/. If you place a file into this directory, it's not more empty and therefore it's correctly removed. -- 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