-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support S3A proxy configuration properties #1132
Comments
How about below variables? Do we need to add more variables yet?
|
That seems sufficient. |
@chancez did u solve this? |
I'm not using Presto currently as I've changed jobs. I haven't fixed this. |
So i checked prestodb 220 does not use proxy but prestosql does (it gets it from linux env variables - https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/ClientConfiguration.java#L2437-L2442, looks to be introduced in awssdk 1.11.580, that is why prestodb on 1.11.445 does not use it while prestosql on 1.11.602 does use it). After running a hive query you can see in the server.log: 2020-01-24T10:12:57.755Z INFO hive-hive-0 com.amazonaws.http.AmazonHttpClient Configuring Proxy. Proxy Host: redact Proxy Port: redact Problem is it does not allow setting them to empty.
I saw then saw aws/aws-sdk-java@54d9b9b (awssdk 1.11.697) handles setting no proxy |
Can this be closed now that #3016 has been merged? |
I don't think this can be closed as with below in jvm.config the proxy (or no proxy) is applied to EVERYTHING not just s3a, for example ranger url lookups fail. I think this issue should be about supporting per catalog proxy settings -Dhttp.proxyHost= |
@aczajkowski implemented ability to proxy connections to S3 in #11255. Please reopen if it doesn't address the usecase. |
I'm trying to get Presto to work in an restricted network, but have the ability to use S3/GCS using an http/https proxy.
There's some options like
fs.s3a.proxy.host
in the hadoopcore-site.xml
that would be useful if Presto could support these options in the Hive connector's S3 configuration properties.The text was updated successfully, but these errors were encountered: