Samuel Waggoner created BEAM-4072:

             Summary: using instance of S3Options causes crash when no AWS 
credentials available
                 Key: BEAM-4072
             Project: Beam
          Issue Type: Bug
          Components: io-java-aws
            Reporter: Samuel Waggoner
            Assignee: Ismaël Mejía

I want my pipeline to support writing to S3, but I also want it to work locally 
when a user doesn't specify any S3-specific options. Instead, I get the 
following exception:
com.amazonaws.SdkClientException: Unable to find a region via the region 
provider chain. Must provide an explicit region in the builder or setup 
environment to supply a region. E at 
I had thought that I should use a single PipelineOptions interface that 
supports all available options for my pipeline. Is this wrong? Should using an 
instance of S3Options for my pipeline options force the user to write to s3 (or 
otherwise provide s3 options). 

Should I choose a PipelineOptions subinterface based on the options the user 
tries to use at runtime?

This message was sent by Atlassian JIRA

Reply via email to