streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steveblackmon <>
Subject [GitHub] incubator-streams pull request: resolves Streams 187
Date Tue, 28 Oct 2014 17:43:36 GMT
Github user steveblackmon commented on a diff in the pull request:
    --- Diff: streams-contrib/streams-amazon-aws/streams-persist-s3/src/main/java/org/apache/streams/s3/
    @@ -256,13 +258,15 @@ public void prepare(Object configurationObject) {
                     AWSCredentials credentials = new BasicAWSCredentials(s3WriterConfiguration.getKey(),
                     ClientConfiguration clientConfig = new ClientConfiguration();
    -                clientConfig.setProtocol(Protocol.valueOf(s3WriterConfiguration.getProtocol().toUpperCase()));
    +                clientConfig.setProtocol(Protocol.valueOf(s3WriterConfiguration.getProtocol().toString()));
    -                // We want path style access
    +                // We do not want path style access
                     S3ClientOptions clientOptions = new S3ClientOptions();
    --- End diff --
    I came to the conclusion adding support for other regions that path style access was causing
amazon servers to perform a redirect that the library didn't gracefully handle.  After change,
all good.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message