Home Forums HDP on Linux – Installation Local repo mirrors not being used

This topic contains 5 replies, has 4 voices, and was last updated by  Jeff Sposetti 1 year, 2 months ago.

  • Creator
    Topic
  • #24529

    Hello

    I’ve synced HDP, HDP-EPL, HDP-UTILS, Ambari, and Ambari-Updates repos to a machine on the same network as the HDP cluster. I’m having trouble getting the Ambari install to actually utilize some/all of the mirrors.

    I’ve configured in both repoInfo.xml and copied over ambari.repo and HDP.repo and when the installer runs, the HDP.repo is overwritten on all hosts with the public mirror.

    Any suggestions are appreciated.

    -Karl

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #25288

    Jeff Sposetti
    Moderator

    Also watch this JIRA, which is sounds like very much like the problem you hit.

    https://issues.apache.org/jira/browse/AMBARI-2112

    Collapse
    #24890

    Seth Lyubich
    Keymaster

    Hi Karl,

    Thank you for letting us know on how you were able to correct the issue. You can also watch https://issues.apache.org/jira/browse/AMBARI-2006 for ability to avoid distributing repo files during installation.

    Thanks,
    Seth

    Collapse
    #24879

    I was able to get it working if I set the repoinfo.xml before starting the ambari-server for the first time. It also might work if you restart the ambari-server after making changes to the repoinfo.xml.

    This only seemed to work on a clean cluster though. There is a probably a bug where the repo files don’t get copied after the first install on a cluster. (even with a reset).

    Collapse
    #24846

    Chen Xie
    Member

    Hi Karl,

    It seems that it’s a bug of Ambari, which keep “distributing repo files during installation”.

    Please check:

    http://mail-archives.apache.org/mod_mbox/incubator-ambari-user/201304.mbox/%3C99DD75DC8938B743BBBC2CA54F7224A706DD970B@NYSGMBXB06.a.wcmc-ad.net%3E

    and

    https://issues.apache.org/jira/browse/AMBARI-2006

    Collapse
    #24845

    Chen Xie
    Member

    Yea, same problem here.
    I’m trying to deploy it on local repo. But the “hdp.repo” seems never get used.
    Every time I run installer, a new HDP.repo and HDP-EPEL.repo were generate and overwrote files with the same name.

    One possible solution I saw online is to disable these files (HDP.repo, HDP-EPEL.repo). Working on this now.

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