hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tak...@apache.org
Subject [hbase-operator-tools] branch master updated: HBASE-25965 Move delete of WAL directory out of LOG.info and avoid leftover directory (#89)
Date Wed, 02 Jun 2021 21:19:29 GMT
This is an automated email from the ASF dual-hosted git repository.

taklwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 2317f13  HBASE-25965 Move delete of WAL directory out of LOG.info and avoid leftover
directory (#89)
2317f13 is described below

commit 2317f13d71c6670aed9ace967decef53d9c994dc
Author: Tak Lon (Stephen) Wu <taklwu@apache.org>
AuthorDate: Wed Jun 2 14:19:21 2021 -0700

    HBASE-25965 Move delete of WAL directory out of LOG.info and avoid leftover directory
(#89)
    
    Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
---
 hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java b/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
index 256ff51..8e019b8 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
@@ -1930,8 +1930,8 @@ public class HBaseFsck extends Configured implements Closeable {
     } finally {
       HBaseTestingUtility.closeRegionAndWAL(meta);
       // Clean out the WAL we created and used here.
-      LOG.info("Deleting {}, result={}", waldir,
-          HBCKFsUtils.delete(waldir.getFileSystem(getConf()), waldir, true));
+      boolean deleteWalDir = HBCKFsUtils.delete(waldir.getFileSystem(getConf()), waldir,
true);
+      LOG.info("Deleting WAL directory {}, result={}", waldir, deleteWalDir);
     }
     LOG.info("Success! hbase:meta table rebuilt. Old hbase:meta moved into " + backupDir);
     return true;

Mime
View raw message