1u0 commented on issue #9318: [FLINK-13044][s3][fs] Fix handling of relocated 
amazon classes
URL: https://github.com/apache/flink/pull/9318#issuecomment-518173209
 
 
   It looks like it's an another issue with Presto fs:
   the `com.amazonaws.auth.EnvironmentVariableCredentialsProvider` is not 
suitable `AWSCredentialsProvider` for 
`com.facebook.presto.hive.s3.PrestoS3FileSystem`.
   
   From [Prestodb 
documentation](https://prestodb.github.io/docs/current/connector/hive.html#amazon-s3-configuration):
   
   > You can configure a custom S3 credentials provider by setting the Hadoop 
configuration property presto.s3.credentials-provider to be the fully qualified 
class name of a custom AWS credentials provider implementation. This class must 
implement the `AWSCredentialsProvider` interface and provide a two-argument 
constructor that takes a `java.net.URI` and a Hadoop 
`org.apache.hadoop.conf.Configuration` as arguments.
   
   The versions of `EnvironmentVariableCredentialsProvider` we are using have 
only trivial constructor.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to