Support Questions

Find answers, ask questions, and share your expertise

Issue with HDP installation using Ambari blueprints.

avatar
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

avatar
Expert Contributor

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

View solution in original post

3 REPLIES 3

avatar
Expert Contributor

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

avatar
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.

avatar
New Contributor