kobe6th opened a new pull request, #34057:
URL: https://github.com/apache/doris/pull/34057
## Proposed changes
Issue Number: close #xxx
1. fe return 'S3 can't use, please check your properties' when AWS_TOKEN is
set
`
CREATE RESOURCE "test_resources"
PROPERTIES
(
"type" = "s3",
"AWS_ENDPOINT" = "http://cos.ap-guangzhou.myqcloud.com",
"AWS_ACCESS_KEY"="ak",
"AWS_SECRET_KEY"="sk",
"AWS_TOKEN"="token",
"AWS_REGION" = "ap-guangzhou",
"AWS_BUCKET" = "bucket",
"AWS_ROOT_PATH" = "path/to/dir",
"AWS_MAX_CONNECTIONS" = "50",
"AWS_REQUEST_TIMEOUT_MS" = "3000",
"AWS_CONNECTION_TIMEOUT_MS" = "1000"
);
ERROR 1105 (HY000): errCode = 2, detailMessage = S3 can't use, please check
your properties
`
2. When altering the AK/SK resource, only the AK and SK are set in the
S3ClientHolder::reset method. Therefore, creating a new S3 client without other
parameters is not possible.
--
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]