Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari-server setup - Ambari env

Ambari-server setup - Ambari env

New Contributor

Hi

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.

3 REPLIES 3

Re: Ambari-server setup - Ambari env

@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!

Highlighted

Re: Ambari-server setup - Ambari env

New Contributor

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.

Re: Ambari-server setup - Ambari env

New Contributor
,

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.