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 C968B200BA0 for ; Fri, 14 Oct 2016 16:22:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C8396160AF4; Fri, 14 Oct 2016 14:22:26 +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 4B7FD160AD9 for ; Fri, 14 Oct 2016 16:22:26 +0200 (CEST) Received: (qmail 44439 invoked by uid 500); 14 Oct 2016 14:22:22 -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 43856 invoked by uid 99); 14 Oct 2016 14:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 14:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CF76C2C4C78 for ; Fri, 14 Oct 2016 14:22:21 +0000 (UTC) Date: Fri, 14 Oct 2016 14:22:21 +0000 (UTC) From: "Pankaj Kumar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16716) OfflineMetaRepair leaves empty directory inside /hbase/WALs which remains forever MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 14:22:26 -0000 [ https://issues.apache.org/jira/browse/HBASE-16716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15575485#comment-15575485 ] Pankaj Kumar commented on HBASE-16716: -------------------------------------- Have attached patch for branches (1.1/1.2/1.3). > OfflineMetaRepair leaves empty directory inside /hbase/WALs which remains forever > --------------------------------------------------------------------------------- > > Key: HBASE-16716 > URL: https://issues.apache.org/jira/browse/HBASE-16716 > Project: HBase > Issue Type: Bug > Components: hbck > Affects Versions: 2.0.0 > Reporter: Pankaj Kumar > Assignee: Pankaj Kumar > Priority: Minor > Fix For: 2.0.0, 1.4.0 > > Attachments: HBASE-16716-V2.patch, HBASE-16716-branch-1.1.patch, HBASE-16716-branch-1.2.patch, HBASE-16716-branch-1.3.patch, HBASE-16716-branch-1.patch, HBASE-16716.patch > > > OfflineMetaRepair rebuild Meta table, while creating meta region it creates it's own WAL (inside /hbase/WALs/hbck-meta-recovery-) which wll be closed and archived after rebuilding Meta. > {noformat} > hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair > >> /hbase/WALs/hbck-meta-recovery- > {noformat} > It doesn't clear the empty dir, empty directory should be removed after success. -- This message was sent by Atlassian JIRA (v6.3.4#6332)