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 360d4d3890 [fs] Set credentials provider in JindoFileIO (#6064)
360d4d3890 is described below
commit 360d4d3890dab277d8fb1f95a17f565e0e65c90f
Author: Jiajia Li <[email protected]>
AuthorDate: Wed Aug 13 16:43:05 2025 +0800
[fs] Set credentials provider in JindoFileIO (#6064)
---
.../paimon-jindo/src/main/java/org/apache/paimon/jindo/JindoFileIO.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindo/JindoFileIO.java
b/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindo/JindoFileIO.java
index 9a670f764c..58a3a0dfd4 100644
---
a/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindo/JindoFileIO.java
+++
b/paimon-filesystems/paimon-jindo/src/main/java/org/apache/paimon/jindo/JindoFileIO.java
@@ -27,6 +27,7 @@ import org.apache.paimon.utils.Pair;
import com.aliyun.jindodata.common.JindoHadoopSystem;
import com.aliyun.jindodata.dls.JindoDlsFileSystem;
import com.aliyun.jindodata.oss.JindoOssFileSystem;
+import com.aliyun.jindodata.oss.auth.SimpleCredentialsProvider;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.slf4j.Logger;
@@ -96,6 +97,7 @@ public class JindoFileIO extends HadoopCompliantFileIO {
// Misalignment can greatly affect performance, so the maximum buffer
is set here
hadoopOptions.set("fs.oss.read.position.buffer.size", "8388608");
+ hadoopOptions.set("fs.oss.credentials.provider",
SimpleCredentialsProvider.NAME);
// read all configuration with prefix 'CONFIG_PREFIXES'
for (String key : context.options().keySet()) {