You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ismailsimsek (via GitHub)" <gi...@apache.org> on 2023/06/01 09:26:48 UTC

[GitHub] [iceberg] ismailsimsek opened a new issue, #7749: How to Set AWS region for S3FileIo

ismailsimsek opened a new issue, #7749:
URL: https://github.com/apache/iceberg/issues/7749

   ### Feature Request / Improvement
   
   is it possible to configure region for S3FileIo?  Im getting following error with Minio setup and couldn't find a way to set it explicitly using iceberg config.
   
   seems like its possible for python but not for java. 
   cc @jackye1995 @amogh-jahagirdar 
   
   https://github.com/apache/iceberg/blob/1ea185290ac505e6c2e4d6f4eb429448860701e8/python/mkdocs/docs/configuration.md?plain=1#L69
   
   
   ```
   
   Error:    IcebergChangeConsumerUpsertTest.testSimpleUpsert:52 ยป 
   
   SdkClient Unable to load region from any of the providers in the chain software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain@d8852f7: [software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@351bd548: Unable to load region from system settings. Region must be specified either via environment variable (AWS_REGION) or  system property (aws.region)., software.amazon.awssdk.regions.providers.AwsProfileRegionProvider@473b1e5d: No region provided in profile: default, software.amazon.awssdk.regions.providers.InstanceProfileRegionProvider@6cc1aeaf: Unable to retrieve region information from EC2 Metadata service. Please make sure the application is running on EC2.]
   ```
   
   ### Query engine
   
   None


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [iceberg] ismailsimsek commented on issue #7749: How to Set AWS region for S3FileIo

Posted by "ismailsimsek (via GitHub)" <gi...@apache.org>.
ismailsimsek commented on issue #7749:
URL: https://github.com/apache/iceberg/issues/7749#issuecomment-1571773068

   got it, it works. thank you @nastra 


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [iceberg] nastra commented on issue #7749: How to Set AWS region for S3FileIo

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #7749:
URL: https://github.com/apache/iceberg/issues/7749#issuecomment-1571746006

   @ismailsimsek the correct one is `client.region`. See also https://github.com/apache/iceberg/blob/master/aws/src/main/java/org/apache/iceberg/aws/AwsClientProperties.java#L67


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [iceberg] ismailsimsek closed issue #7749: How to Set AWS region for S3FileIo

Posted by "ismailsimsek (via GitHub)" <gi...@apache.org>.
ismailsimsek closed issue #7749: How to Set AWS region for S3FileIo
URL: https://github.com/apache/iceberg/issues/7749


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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