- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Adding new host to cluster, wrong repo showing up
Created 12-07-2021 09:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an Ambari cluster that has 12 members, and I want to add another one. All O/S are CentOS 7.9, Ambari 2.7.5, HDP 3.1.5.
The host that I want to add to the cluster can't get to the internet, so I added /etc/yum.repos.d/ambari-hdp-1.repo to it. Contents of that file have entries for HDP, HDP-GPL, and HDP-UTILS on the Ambari master. The directories exist on the Ambari master, and I can browse to them. "yum repolist" on that host lists the repos as expected.
When I invoke the Add New Host wizard, it successfully finds the host and says the SSH key is valid. When I get to the final page of the wizard (right before deploy), it lists the repositories it's going to pull files from. The repo for HDP-GPL shows the HortonWorks (internet) repo instead of the local repo I put in the host's repo file listed above. At this point, I cancel out of the wizard.
What step(s) do I need to take to get that repo changed? Please advise when you can.
Thanks in advance,
Mike
Created 12-08-2021 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mike,
You could just set the repositories from the manage Repository so it will be applicable for all the hosts.
Keeping only for one host will not work, as Ambari will overwrites it again and again.
So if you want to move to Local repositry.
Go to Ambari - Stack and Version -> Manage Version - > Check for your version and Edit the repository.
Thanks.
Created 12-13-2021 10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MikeB Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thank you.
Regards,
Diana Torres,Senior Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
