This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 0b56701a05 [hotfix] Add hadoopConf in RESTTokenFileIO
0b56701a05 is described below
commit 0b56701a0525fb2bcf2a8a3a78f7b10009476fd3
Author: JingsongLi <[email protected]>
AuthorDate: Wed Aug 13 15:44:24 2025 +0800
[hotfix] Add hadoopConf in RESTTokenFileIO
---
.../src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java
b/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java
index c34e62123d..fc4134c8b8 100644
--- a/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java
+++ b/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java
@@ -167,7 +167,10 @@ public class RESTTokenFileIO implements FileIO {
options.set(FILE_IO_ALLOW_CACHE, false);
CatalogContext context =
CatalogContext.create(
- options, catalogContext.preferIO(),
catalogContext.fallbackIO());
+ options,
+ catalogContext.hadoopConf(),
+ catalogContext.preferIO(),
+ catalogContext.fallbackIO());
try {
fileIO = FileIO.get(path, context);
} catch (IOException e) {