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.

Issue with HDP installation using Ambari blueprints.

Solved Go to solution

Issue with HDP installation using Ambari blueprints.

Expert Contributor

I have created HDP & HDP-UTILS-1.1.0.21 internal repository map as below:

curl -H "X-Requested-By: ambari" -X PUT -u admin:admin http://ambari-server-hostname:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat7/reposito... -d @repo.json

payload:

{
"Repositories" : {
  "base_url" : "http://ip-address/repo/HDP/centos7/2.6.3.0-235",
  "verify_base_url" : true
}
}

curl -H "X-Requested-By: ambari" -X PUT -u admin:admin http://<ambari-server-hostname>:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat7/reposi... -d @hdputils-repo.json

payload:

{
"Repositories" : {
  "base_url" : "http://ip-address/repo/HDP_UTILS",
  "verify_base_url" : true
}
}

but during installation, public repository being invoked by components and not using local repository which I have registered using rest API.

2017-11-26 17:04:05,975 - File['/etc/yum.repos.d/ambari-hdp-1.repo'] {'content': '[HDP-2.6-repo-1]\nname=HDP-2.6-repo-1\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.21-repo-1]\nname=HDP-UTILS-1.1.0.21-repo-1\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'}

Please find the attached screenshot.component-installation-fail.png

Stack version:

HDP 2.6 & Ambari 2.6.0

Could you please help on this.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Issue with HDP installation using Ambari blueprints.

Rising Star

Hi @Sampath Kumar,

Some changes in Ambari 2.6.0 have been introduced that modify the way that install repository overrides are setup.

Please see this link that describes the new process for setting up local repos:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-release-notes/content/ambari_reln...

Hope this helps.

Thanks,

Bob

3 REPLIES 3

Re: Issue with HDP installation using Ambari blueprints.

Rising Star

Hi @Sampath Kumar,

Some changes in Ambari 2.6.0 have been introduced that modify the way that install repository overrides are setup.

Please see this link that describes the new process for setting up local repos:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-release-notes/content/ambari_reln...

Hope this helps.

Thanks,

Bob

Re: Issue with HDP installation using Ambari blueprints.

New Contributor

Hi, I'm also facing same issue while using HDP 2.6.Could not able to register VDF also. Need support to explain the steps in details for registering the VDF so that during the service installation it could point to my local repo instead of public repo which I dont have internet access.

Appreciate you all for the support in advance.

Re: Issue with HDP installation using Ambari blueprints.

New Contributor
Don't have an account?
Coming from Hortonworks? Activate your account here