syun64 commented on issue #9174: URL: https://github.com/apache/iceberg/issues/9174#issuecomment-1992179279
Maybe having specific proxy configurations for the REST Catalog would be better than relying on the SystemProperties? It *looks* like the connection manager is taking the configurations from the system here, but what I've observed is that setting the proxy through the system environment could have unintended consequences for the Spark cluster or Kubernetes node unless we are able to identify all no_proxy comms and set them correctly. I think setting the [proxy configuration](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/org/apache/hc/client5/http/config/RequestConfig.html) in a targeted manner on the [HttpUriRequestBase](https://github.com/apache/iceberg/blob/1.4.x/core/src/main/java/org/apache/iceberg/rest/HTTPClient.java#L260) could support this use case better. What are your thoughts on this @sravanscb @danielcweeks ? -- 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. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org