[
https://issues.apache.org/jira/browse/BEAM-11257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231884#comment-17231884
]
Robert Kubis edited comment on BEAM-11257 at 11/13/20, 11:43 PM:
-----------------------------------------------------------------
Solution seems to be to use
options.setAwsRegion(<newAwsBucketRegion>);
FileSystems.setDefaultPipelineOptions(options);
at runtime before using FileSystems.create(..)
was (Author: hostirosti):
Solution seems to be to use
options.setAwsRegion(<newAwsBucketRegion>);
FileSystems.setDefaultPipelineOptions(options);
at runtime before using FileSystems.create(..)
> multiple buckets and regions support in S3FileSystem
> ----------------------------------------------------
>
> Key: BEAM-11257
> URL: https://issues.apache.org/jira/browse/BEAM-11257
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Affects Versions: 2.25.0
> Reporter: Robert Kubis
> Priority: P2
>
> S3FileSystem picks up the bucket region from AwsOptions at pipeline.run()
> disallowing the change of the region and thus support to write to Buckets in
> different regions in one pipeline.
> Changing Auth to multiple different buckets is supported though
--
This message was sent by Atlassian Jira
(v8.3.4#803005)