This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 78fdc1d77be [bug](s3)fix wrong property of S3 resource (#41815)
78fdc1d77be is described below
commit 78fdc1d77bec5eee5fd8c6d163412565f063c03c
Author: Xujian Duan <[email protected]>
AuthorDate: Mon Oct 14 22:08:33 2024 +0800
[bug](s3)fix wrong property of S3 resource (#41815)
---
.../org/apache/doris/datasource/property/constants/S3Properties.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/property/constants/S3Properties.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/property/constants/S3Properties.java
index 1f7342e80b8..3ed88c6ceef 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/property/constants/S3Properties.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/property/constants/S3Properties.java
@@ -297,10 +297,10 @@ public class S3Properties extends BaseProperties {
s3Info.setMaxConn(Integer.parseInt(maxConnections == null
? S3Properties.Env.DEFAULT_MAX_CONNECTIONS : maxConnections));
String requestTimeoutMs =
properties.get(S3Properties.REQUEST_TIMEOUT_MS);
- s3Info.setMaxConn(Integer.parseInt(requestTimeoutMs == null
+ s3Info.setRequestTimeoutMs(Integer.parseInt(requestTimeoutMs == null
? S3Properties.Env.DEFAULT_REQUEST_TIMEOUT_MS :
requestTimeoutMs));
String connTimeoutMs =
properties.get(S3Properties.CONNECTION_TIMEOUT_MS);
- s3Info.setMaxConn(Integer.parseInt(connTimeoutMs == null
+ s3Info.setConnTimeoutMs(Integer.parseInt(connTimeoutMs == null
? S3Properties.Env.DEFAULT_CONNECTION_TIMEOUT_MS :
connTimeoutMs));
String usePathStyle =
properties.getOrDefault(PropertyConverter.USE_PATH_STYLE, "false");
s3Info.setUsePathStyle(Boolean.parseBoolean(usePathStyle));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]