Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Trouble with installing HDP 2.6.4 through Ambari using local repo

avatar

I am trying to install HDP 2.6.4 version through Ambari 2.6.1 - the Ambari GUI is up and running.

Created the local repo in another server. Able to get to the local repos from the browser using the Base URLs.

In Ambari Cluster install wizard, selected following as local repos:

HDP-2.6 - http://1.1.1.1/repo/HDP/centos7/2.x/updates/2.6.4.0/

HDP-2.6-GPL -http://1.1.1.1/repo/HDP-GPL/centos7/2.6.4.0-91

HDP-UTILS-1.1.0.22 - http://1.1.1.1/repo/HDP-UTILS/repos/centos7/

But with this, the Ambari throws Server Error (500).

I have tried adding the hostnames in /etc/hosts and tried with FQDN names as well.

I am a beginner and any help is appreciated. Thanks!

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Jay

Sometimes it happens that the "wget" works because the host has some global proxy settings defined (like in ~/.bash_profile, /etc/profile, /etc/wgetrc file , However ambari is a java process and it requires oproxy settings done via JVM properties. As described in https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/ch_setting...

-Dhttp.proxyHost=<yourProxyHost> -Dhttp.proxyPort=<yourProxyPort>

So can you please check your ambari server host if there is any Http Proxy setting done at global level? If yes then we will need to add the proxy setting in "/var/lib/ambari-server/ambari-env.sh" file as well.

View solution in original post

10 REPLIES 10

avatar
Master Mentor

@Jay

As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button on the correct answer. That way other HCC users can quickly find the solution when they encounter the same issue.