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

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


The following commit(s) were added to refs/heads/branch-3 by this push:
     new 0a89395c818 HBASE-29482 Bulkload fails with viewfs authentication 
error (#7181)
0a89395c818 is described below

commit 0a89395c8185cb94b111e3e473c4ed624b01f1cc
Author: Jaehui Lee <[email protected]>
AuthorDate: Thu Jul 31 00:31:45 2025 +0900

    HBASE-29482 Bulkload fails with viewfs authentication error (#7181)
    
    Signed-off-by: Junegunn Choi <[email protected]>
---
 .../main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
index 98e6631e305..4d6f57e22ed 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
@@ -962,7 +962,9 @@ public class BulkLoadHFilesTool extends Configured 
implements BulkLoadHFiles, To
     throws IOException {
     int count = 0;
 
-    
fsDelegationToken.acquireDelegationToken(queue.peek().getFilePath().getFileSystem(getConf()));
+    Path path = queue.peek().getFilePath();
+    FileSystem fs = 
path.getFileSystem(getConf()).resolvePath(path).getFileSystem(getConf());
+    fsDelegationToken.acquireDelegationToken(fs);
     bulkToken = FutureUtils.get(conn.prepareBulkLoad(tableName));
     Pair<Multimap<ByteBuffer, LoadQueueItem>, Set<String>> pair = null;
 

Reply via email to