Support Questions

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

Error: "Cannot retrieve repository metadata (repomd.xml) for repository: HDP-2.3. Please verify its path and try again"

avatar
Expert Contributor

when I try to use yum to update or install some packages, I get this error. .

"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.0/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: HDP-2.3. Please verify its path and try again"

I am working on HDP 2.3.4 Sandbox deployed on a CentOS 6 server which is behind the proxy. The server has internet access. I can ping google.com , for example.

the contents of /etc/yum.repos.d looks like this:

1930-yumreposd.png

Any workaround regarding this issue would be highly appreciated!

1 ACCEPTED SOLUTION

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
30 REPLIES 30

avatar
New Contributor

Hi Kibrom Gebrehiwot,

Unsure if you're still stuck here. What you can do is goto Manage Ambari > Versions > and update the HDP and HDP-UTILS URL's. You will be able to find your relevant URL's in your version document of ambari. Try to use the Public URL's if you have internet access.

Thanks,

Adnan Khan