- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari not using available repos
Created ‎08-09-2017 04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RHEL 7.2 on Power8
ambari-server-2.5.0.0-1096.ppc64le
Trying to install HDP 2.6.
For some reason the install (Install, Start, and Test part of the installation) is failing. It appears that it is having problems using the repos that are available to it. For example:
2017-08-09 18:35:03,706 - Skipping installation of existing package curl 2017-08-09 18:35:03,706 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-08-09 18:35:03,728 - Skipping installation of existing package hdp-select 2017-08-09 18:35:04,016 - Package['hadoop_2_6_0_0_598-yarn'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-08-09 18:35:04,177 - Skipping installation of existing package hadoop_2_6_0_0_598-yarn 2017-08-09 18:35:04,179 - Package['hadoop_2_6_0_0_598-mapreduce'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2017-08-09 18:35:04,202 - Installing package hadoop_2_6_0_0_598-mapreduce ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_0_0_598-mapreduce')
So it cannot install hadoop_2_6_0_0_598-mapreduce. But if I go to the command line, I can install this:
==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
hadoop_2_6_0_0_598-mapreduce ppc64le 2.7.3.2.6.0.0-598 HDP-2.6 32 M
Transaction Summary
==============================================================================================================
Install 1 Package
Total download size: 32 M
Installed size: 36 M
Is this ok [y/d/N]: y
Downloading packages:
hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le.rpm | 32 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le 1/1
Verifying : hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le 1/1
Installed:
hadoop_2_6_0_0_598-mapreduce.ppc64le 0:2.7.3.2.6.0.0-598
Complete!
I don't understand why Ambari is having such a problem using the HDP and HDP-Utils repositories. They are configured like this:
[root@hdplab80 yum.repos.d]# cat HDP.repo
[HDP-2.6]
name=HDP-2.6
baseurl=http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598
path=/
enabled=1
gpgcheck=0[root@hdplab80 yum.repos.d]# cat HDP-UTILS.repo
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le
path=/
enabled=1
Can anyone spot what is wrong here? Essentially, Ambari is not using the repos available to it, I think.
Thanks in advance.
John
Created ‎09-04-2017 03:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based on your output it looks like you have configured proxy.
So i guess in that case you should also set proxy inside your "/etc/yum.conf" file something like following so that the yum will also start using the same proxy.
# cat /etc/yum.conf [main] proxy=http://x.x.x.x:3128 cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3
.
The perform a yum clean and then try again.
# yum clean all
.
Created ‎09-04-2017 05:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marked the yum.conf issue as the resolution.
For the libtirc-devel issue the fix was:
yum-config-manager --enable rhel-7-for-power-le-eus-optional-rpms
yum-config-manager --enable rhel-7-rhel-7-for-power-le-optional-rpms
Thanks ever so much to @Jay SenSharma and @Geoffrey Shelton Okot for all your help on this. Cluster install is currently at 19%.
Created ‎09-04-2017 04:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One of my thread has similar issue:
https://community.hortonworks.com/questions/109996/hdp-26-requires-libtirpc-devel.html
for your query related to:
Error: Package: hadoop_2_6_2_0_205-hdfs-2.7.3.2.6.2.0-205.ppc64le (HDP-2.6) Requires: libtirpc-devel
Created ‎09-04-2017 08:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happy you succeeded !

- « Previous
- Next »