This is an automated email from the ASF dual-hosted git repository.
junegunn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new cc193701c16 HBASE-29482 Bulkload fails with viewfs authentication
error (#7181)
cc193701c16 is described below
commit cc193701c166b5a18e7e85750c0658e98df46205
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;