I am working behind a firewall and need to use a proxy. I downloaded repo and installed through yum by modifying respective wgetrc and yum.conf to include proxies.
Then I followed instruction to modify /var/lib/ambari-server/ambari-env.sh to add
export AMBARI_JVM_ARGS='-Dhttp.proxyHost=myProxy -Dhttp.proxyPort=80 -Dhttp.proxyUser=user -Dhttp.proxyPassword=passwrd'
However, when I ran ambari-server setup, it still got stuck in Download JDK step. Finally I had to manually wget JDK and JCE files to proceed. I further dug down and found force-sownload function uses urllib2 to open the link, but does not use any proxy override.
If it is a bug, hapy to post in Jira.
@Ayan Guha Unfortunately that certainly does sound like a bug, glad you managed to work around it, JIRA sounds like the right place for that, please also provide your analysis of the issue when raising the ticket.
Thanks for helping to make Ambari better!
Hi Ayan, did you happen to open an issue for this? I am seeing the same issue but couldn't find an open issue in JIRA regarding this.
I seem to be having a similar issue. Do you have the details about how you worked around it. I alerted my engineer from Hortonworks I've been working with.