You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/06/25 11:05:56 UTC

[GitHub] [hadoop-ozone] elek commented on a change in pull request #1125: HDDS-3866. Support multi-part-upload with Freon S3 key generator

elek commented on a change in pull request #1125:
URL: https://github.com/apache/hadoop-ozone/pull/1125#discussion_r445479018



##########
File path: hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/S3KeyGenerator.java
##########
@@ -81,7 +103,8 @@ public Void call() throws Exception {
     if (endpoint.length() > 0) {
       amazonS3ClientBuilder
           .withPathStyleAccessEnabled(true)
-          .withEndpointConfiguration(new EndpointConfiguration(endpoint, ""));
+          .withEndpointConfiguration(
+              new EndpointConfiguration(endpoint, "us-east-1"));

Review comment:
       Just one reason: got an exception ;-) The AWS 4 signature handling failed in our code with having empty region. I tried to define it with environment variable but it was not enough.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org