You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by cc...@apache.org on 2026/10/13 17:54:17 UTC
(hbase) branch branch-2 updated: Inefficient HFile format check in incremental backup bulkload copy (#8710)
This is an automated email from the ASF dual-hosted git repository.
charlesconnell pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 3fa8250e368 Inefficient HFile format check in incremental backup bulkload copy (#8710)
3fa8250e368 is described below
commit 3fa8250e3682fb9e09aef6865bbec97d4c53ba57
Author: tanya stickles <ta...@gmail.com>
AuthorDate: Tue Oct 13 13:35:19 2026 -0400
Inefficient HFile format check in incremental backup bulkload copy (#8710)
Co-authored-by: Tanya Stickles <ts...@hubspot.com>
Signed-off by: Charles Connell <cc...@apache.org>
---
.../apache/hadoop/hbase/backup/impl/IncrementalTableBackupClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 56809cfb898..57040ad53c4 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
@@ -47,9 +47,9 @@ import org.apache.hadoop.hbase.backup.util.BackupUtils;
import org.apache.hadoop.hbase.client.Admin;
import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor;
import org.apache.hadoop.hbase.client.Connection;
-import org.apache.hadoop.hbase.io.hfile.HFile;
import org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2;
import org.apache.hadoop.hbase.mapreduce.WALPlayer;
+import org.apache.hadoop.hbase.regionserver.StoreFileInfo;
import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils;
import org.apache.hadoop.hbase.snapshot.SnapshotManifest;
import org.apache.hadoop.hbase.snapshot.SnapshotRegionLocator;
@@ -469,7 +469,7 @@ public class IncrementalTableBackupClient extends TableBackupClient {
List<String> files = new ArrayList<>();
while (locatedFiles.hasNext()) {
LocatedFileStatus file = locatedFiles.next();
- if (file.isFile() && HFile.isHFileFormat(tgtFs, file.getPath())) {
+ if (file.isFile() && StoreFileInfo.isHFile(file.getPath())) {
files.add(file.getPath().toString());
}
}