You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by rm...@apache.org on 2025/04/03 14:25:58 UTC

(hbase) branch HBASE-29239-branch-3 created (now 852bb172524)

This is an automated email from the ASF dual-hosted git repository.

rmattingly pushed a change to branch HBASE-29239-branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


      at 852bb172524 HBASE-29239: Subsequent runs of re-splitting HFiles can fail because we don't cleanup the MR directory (#6876)

This branch includes the following new commits:

     new 852bb172524 HBASE-29239: Subsequent runs of re-splitting HFiles can fail because we don't cleanup the MR directory (#6876)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(hbase) 01/01: HBASE-29239: Subsequent runs of re-splitting HFiles can fail because we don't cleanup the MR directory (#6876)

Posted by rm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rmattingly pushed a commit to branch HBASE-29239-branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 852bb1725246fb7c9c2714fefd823be3cc688788
Author: Hernan Romer <na...@gmail.com>
AuthorDate: Thu Apr 3 10:20:03 2025 -0400

    HBASE-29239: Subsequent runs of re-splitting HFiles can fail because we don't cleanup the MR directory (#6876)
    
    Co-authored-by: Hernan Gelaf-Romer <hg...@hubspot.com>
    Signed-off-by: Ray Mattingly <rm...@apache.org>
---
 .../apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java
index 52f824c5dda..a868a9a6203 100644
--- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java
+++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java
@@ -218,6 +218,9 @@ public class IncrementalTableBackupClient extends TableBackupClient {
       result = player.run(args);
     } catch (Exception e) {
       LOG.error("Failed to run MapReduceHFileSplitterJob", e);
+      // Delete the bulkload directory if we fail to run the HFile splitter job for any reason
+      // as it might be re-tried
+      deleteBulkLoadDirectory();
       throw new IOException(e);
     }