Home Forums HDP on Linux – Installation Unable to add new hosts to Hadoop cluster using Ambari (Repo not reachable)

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Andy Matthys-Pearce 5 days, 1 hour ago.

  • Creator
    Topic
  • #54724

    Deepak Jain
    Participant

    I have a 60 node cluster setup using Amabri a month ago. Today when i attempt to add a new host, i see the following error.
    My hosts have internet connection and hence i do not use local repo option.

    This URL seem to be dead now (http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/repodata/repomd.xml).

    Host Config:
    [dvasthimal@historical-11-320640 druid-services-0.6.109-SNAPSHOT]$ uname -a
    Linux historical-11-320640 2.6.32-279.22.1.el6.x86_64 #1 SMP Sun Jan 13 09:21:40 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
    [dvasthimal@historical-11-320640 druid-services-0.6.109-SNAPSHOT]$ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 6.3 (Santiago)
    [dvasthimal@historical-11-320640 druid-services-0.6.109-SNAPSHOT]$
    Error:
    ==========================
    Copying common functions script…
    ==========================
    scp /usr/lib/python2.6/site-packages/common_functions
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0
    ==========================
    Copying OS type check script…
    ==========================
    scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0
    ==========================
    Running OS type check…
    ==========================
    Cluster primary/cluster OS type is redhat6 and local/current OS type is redhat6

    Connection to historical-11-320640.slc01.dev.ebayc3.com closed.
    SSH command execution finished
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0

    ==========================
    Checking ‘sudo’ package on remote host…
    ==========================
    sudo-1.7.4p5-13.el6_3.x86_64

    Connection to historical-11-320640.slc01.dev.ebayc3.com closed.
    SSH command execution finished
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0

    ==========================
    Copying repo file to ‘tmp’ folder…
    ==========================

    scp /etc/yum.repos.d/ambari.repo
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0

    ==========================
    Moving file to repo dir…
    ==========================

    Connection to historical-11-320640.slc01.dev.ebayc3.com closed.
    SSH command execution finished
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0

    ==========================
    Copying setup script file…
    ==========================

    scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
    host=historical-11-320640.slc01.dev.ebayc3.com, exitcode=0

    ==========================
    Running setup agent script…
    ==========================
    http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404″
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-1.x. Please verify its path and try again
    http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404″
    Trying other mirror.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #57429

    Andy Matthys-Pearce
    Participant

    Yes – Thank you, Deepak – this fix worked perfectly.

    Collapse
    #54725

    Deepak Jain
    Participant

    This repo http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/ went dead on me. Fixed it as

    http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.5.1

    Fix:
    [Updates-ambari-1.x]
    name=ambari-1.x – Updates
    baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.5.1

    gpgcheck=1
    gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    enabled=1
    priority=1

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)