HDP on Linux – Installation Forum

base url for HDP 2.0 stack not working

to create new topics or reply. | New User Registration

  • Author
  • #51493
    Jeff Sposetti

    Are you doing a manual HDP install or an Ambari install of HDP? And you want to use the public repositories in either case?

    Justin Rush

    ambari. using the default public repos that are embedded in the installer

    Jeff Sposetti

    That’s the correct base URL to use in the Ambari install wizard (under Select Stack > Advanced Repository Options).

    You can confirm by looking at this:

    You can see the base url for Updates-HDP-2.x is http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/ and that’s what you use in the ambari wizard UI.

    It’s not going to be browsable w/o full path. You can browse to repodata metadata file if you want to confirm it’s a repo.


    What error are you getting? And confirm: what version of Ambari are you using?

    Justin Rush

    When I try to proceed with selecting the stack it says all three of the URLs listed are invalid. It doesn’t give any actual error message but it puts one of those lovely red ! marks next to them and deactivates the next button.


    Justin Rush

    apparently restarting ambari-server has solved this problem. Maybe the URLs weren’t working originally and it cached that or something.

    Rob McFeely

    I am having the same issue with Ambari. The host system can access the internet via wget and the yum repos can download OK however ambari cannot connect on advanced repo opttions screen

    The error when I hover over the red mark is:

    400 Bad Request. Java.lang.IllegalArguementException: Could not access base url ”http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/″

    When I browse to this address I get the following xml indicating some sort of error NOoSUchKey

    <Message>The specified key does not exist.</Message>

    Is this the source of my problem, is the repo broken???

    Please help

    Jeff Sposetti

    Do you go thru a proxy to get to internet? If so, you have to enable ambari server to be able to reach the internet thru that proxy…


    bob galli

    Am facing the same issue with latest ambari & HDP 2.3 for all the 6 base urls listed

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.