From 141b452a790c65d56cfe570d10c0d2f7dd57f63d Mon Sep 17 00:00:00 2001 From: duanxujian Date: Tue, 15 Oct 2024 16:42:29 +0800 Subject: [PATCH] fix wrong property of S3 resource --- .../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 51bca2c66b7fb6..350f67579f6480 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 @@ -261,10 +261,10 @@ public static TS3StorageParam getS3TStorageParam(Map properties) 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));