liutang123 opened a new pull request, #56081: URL: https://github.com/apache/doris/pull/56081
### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: When calling `S3ClientFactory::getClientConfiguration`, it may cost too much long time. ``` E20250916 00:43:33.577644 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:33.577708 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed W20250916 00:43:33.577716 3174497 aws_logger.h:53] [EC2MetadataClient] Request failed, now waiting 0 ms before attempting again. E20250916 00:43:34.577911 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:34.577973 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed E20250916 00:43:34.577984 3174497 aws_logger.h:50] [EC2MetadataClient] Can not retrieve resource from http://169.254.169.254/latest/api/token E20250916 00:43:35.578131 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:35.578181 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed W20250916 00:43:35.578188 3174497 aws_logger.h:53] [EC2MetadataClient] Request failed, now waiting 0 ms before attempting again. E20250916 00:43:36.578377 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:36.578429 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed E20250916 00:43:36.578439 3174497 aws_logger.h:50] [EC2MetadataClient] Can not retrieve resource from http://169.254.169.254/latest/meta-data/iam/security-credentials E20250916 00:43:37.578578 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:37.578635 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed W20250916 00:43:37.578644 3174497 aws_logger.h:53] [EC2MetadataClient] Request failed, now waiting 0 ms before attempting again. E20250916 00:43:38.578836 3174497 aws_logger.h:50] [CurlHttpClient] Curl returned error code 28 - Timeout was reached E20250916 00:43:38.578886 3174497 aws_logger.h:50] [EC2MetadataClient] Http request to retrieve credentials failed E20250916 00:43:38.578897 3174497 aws_logger.h:50] [EC2MetadataClient] Can not retrieve resource from http://169.254.169.254/latest/meta-data/placement/availability-zone ``` In this PR, Exec `getClientConfiguration` in `ExecEnv::_init`. In the same time, fix the but where `OpenTime` of `RESULT_FILE_SINK_OPERATOR` is always 0. ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
