This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 92c6b7b190 [fix](iceberg) remove s3 default temporary credentials
cherry-pick #16543
92c6b7b190 is described below
commit 92c6b7b19001404d014256cb78bc57975b344775
Author: morningman <[email protected]>
AuthorDate: Thu Feb 9 12:56:34 2023 +0800
[fix](iceberg) remove s3 default temporary credentials
cherry-pick #16543
---
fe/fe-core/src/main/java/org/apache/doris/catalog/S3Resource.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/S3Resource.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/S3Resource.java
index 46f050af20..7f03b76092 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/S3Resource.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/S3Resource.java
@@ -27,7 +27,6 @@ import com.google.common.collect.Maps;
import com.google.gson.annotations.SerializedName;
import org.apache.hadoop.fs.s3a.Constants;
import org.apache.hadoop.fs.s3a.S3AFileSystem;
-import org.apache.hadoop.fs.s3a.TemporaryAWSCredentialsProvider;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -195,8 +194,6 @@ public class S3Resource extends Resource {
s3Properties.put("fs.s3.impl", S3AFileSystem.class.getName());
s3Properties.put(Constants.PATH_STYLE_ACCESS,
properties.getOrDefault(S3Resource.USE_PATH_STYLE, "false"));
- s3Properties.put(Constants.AWS_CREDENTIALS_PROVIDER,
properties.getOrDefault(S3Resource.S3_CREDENTIALS_PROVIDER,
- TemporaryAWSCredentialsProvider.class.getName()));
if (properties.containsKey(S3Resource.S3_TOKEN)) {
s3Properties.put(Constants.SESSION_TOKEN,
properties.get(S3_TOKEN));
s3Properties.put("fs.s3a.aws.credentials.provider",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]