Mehakmeet Singh created HADOOP-18643:
----------------------------------------

             Summary: S3A proxy to use proxy protocol to set port
                 Key: HADOOP-18643
                 URL: https://issues.apache.org/jira/browse/HADOOP-18643
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Mehakmeet Singh
            Assignee: Mehakmeet Singh


In the current code, we use the Cloud store's protocol to set the proxy's 
port({*}If no port is set{*}).
{code:java}
if (conf.getBoolean(SECURE_CONNECTIONS, DEFAULT_SECURE_CONNECTIONS)) {
          LOG.warn("Proxy host set without port. Using HTTPS default 443");
          awsConf.setProxyPort(443);
        } else {
          LOG.warn("Proxy host set without port. Using HTTP default 80");
          awsConf.setProxyPort(80);
        } {code}
We should use the proxy protocol instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to