geosmart edited a comment on issue #5599:
URL:
https://github.com/apache/dolphinscheduler/issues/5599#issuecomment-855860072
resolved
hadoop-aws `2.6.0` not support set endpoint outside, it use the default
`s3.amazonaws.com` by
setEndpoint(Constants.S3_HOSTNAME);
and in `2.7.2`
```
this.s3 = new AmazonS3Client(credentials, awsConf);
proxyUsername = conf.getTrimmed("fs.s3a.endpoint", "");
if (!proxyUsername.isEmpty()) {
try {
this.s3.setEndpoint(proxyUsername);
} catch (IllegalArgumentException var23) {
msg = "Incorrect endpoint: " + var23.getMessage();
LOG.error(msg);
throw new IllegalArgumentException(msg, var23);
}
}
```
we can overwrite the endpoint with `fs.s3a.endpoint` config
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]