If your proxy uses HTTPS, you should use the following Java settings:
-Dhttps.proxyHost=host_name
-Dhttps.proxyPort=https_port_number
You should also ensure that the certificate used by the proxy is trusted by Java.
a) Import the certificate into the Java trust store, e.g: keytool -import -alias $ALIAS -keystore $JAVA_HOME/jre/lib/security/cacerts -file $PATH_TO_PEM_FILE
b) In addition to the HTTPS proxy Java settings, add these two Java settings:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.