This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new 4c7e495392d [cherry-pick](branch-2.1) fix wrong property of S3 resource (#43413) 4c7e495392d is described below commit 4c7e495392db1cd698b59ff15723dc2e15405c19 Author: Xujian Duan <50550370+darvend...@users.noreply.github.com> AuthorDate: Sun Nov 10 18:17:51 2024 +0800 [cherry-pick](branch-2.1) fix wrong property of S3 resource (#43413) --- .../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 4ab43e8d227..8f73e36f73b 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 @@ -279,10 +279,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: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org