Member since
09-12-2017
26
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
7265 | 09-13-2017 04:49 AM |
11-22-2017
04:22 AM
I recently did installation on Centos 6 and it worked fine. I did try Ambari version ~2.2 ish and also 2.6, both work fine (few niggles like while starting ambari not finding version; but that's manageable. My previous one on Centos 7 (for which this issue is raised) never worked and I left trying. Thanks Jay, Geoffrey for your help on this issue.
... View more
09-13-2017
04:49 AM
Just to filter possibility of any issues with the setup of that particular instance of Centos, I tried installing on another instance as well, but it still fails. Also to nullify any connection issues, I tried curl on the GPG key from ambari.repo - it works fine and downloads the key. Surprise.. Surprise.. I just tried Ambari 2.0.0 installation and it works fine.. So it may be problem with Ambari 2.5.2.0 (In fact entire 2.x I think) repository.
... View more
09-12-2017
02:49 PM
Thanks. Done, but no success yet.
... View more
09-12-2017
02:21 PM
changed resolv.conf and tried above commands. Still no success.
... View more
09-12-2017
01:42 PM
# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search domain.name pc.com
nameserver 192.168.1.1 domain name above is dummy one and nameserver IP is actually that of my router. could that be a problem? But... I remember having worked in similar setup in past, though long back. # yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: ambari-2.5.2.0 base extras updates
Cleaning up Everything
Cleaning up list of fastest mirror # yum clean metadata
Loaded plugins: fastestmirror, security
Cleaning repos: ambari-2.5.2.0 base extras updates
0 metadata files removed
0 sqlite files removed
0 metadata files removed yum install -y ambari-server
Loaded plugins: fastestmirror, security
Setting up Install Process
Determining fastest mirrors
* base: mirrors.viethosting.com
* extras: mirror.digistar.vn
* updates: mirrors.vinahost.vn
ambari-2.5.2.0 | 2.9 kB 00:00
ambari-2.5.2.0/primary_db | 8.6 kB 00:00
base | 3.7 kB 00:00
base/primary_db | 3.7 MB 00:15
extras | 3.3 kB 00:00
extras/primary_db | 21 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.0 MB 00:25
No package ambari-server available.
Error: Nothing to do
... View more
09-12-2017
01:10 PM
No. The link confirms "No Proxy server detected". Also re-checked my connection and found it's ok; but still the same result.
... View more
09-12-2017
12:50 PM
wget command works fine and downloads repomd.xml. grep for 'proxy' returns nothing. Actually I'm working from home, so usual corporate network restrictions do not apply in my case.
... View more
09-12-2017
11:58 AM
Thanks for your response Geoffrey. cat /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=2.5.2.0-298
[ambari-2.5.2.0]
name=ambari Version - ambari-2.5.2.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.2.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.2.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
I do not have HDP repo downloaded, hence I simply get following for hdp repository: cat: /etc/yum.repos.d/hdp.repo: No such file or directory After doing yum clean all and checking yum repolist (output of it below); I'm still getting message "No package ambari-server available. # yum repolist
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: centos-hcm.viettelidc.com.vn
* extras: mirrors.nhanhoa.com
* updates: mirrors.nhanhoa.com
ambari-2.5.2.0 | 2.9 kB 00:00
ambari-2.5.2.0/primary_db | 8.6 kB 00:00
base | 3.7 kB 00:00
base/primary_db | 3.7 MB 00:07
extras | 3.3 kB 00:00
extras/primary_db | 21 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.0 MB 00:07
repo id repo name status
ambari-2.5.2.0 ambari Version - ambari-2.5.2.0 12
base CentOS-6 - Base 5,079
extras CentOS-6 - Extras 20
updates CentOS-6 - Updates 485
repolist: 5,596
# yum install -y ambari-server
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos-hcm.viettelidc.com.vn
* extras: mirrors.nhanhoa.com
* updates: mirrors.nhanhoa.com
No package ambari-server available.
Error: Nothing to do
... View more
09-12-2017
11:09 AM
Thanks for your quick response. * I checked "/etc/yum.repos.d/ambari.repo" and it does have enabled flag = 1. However I do not have any ambari.repo file in /tmp. * I did "yum clean all", checked ambari appears in repolist and ran "yum install ambari-server", but still the same failure.
... View more
09-12-2017
10:50 AM
1 Kudo
centos-screen1.pngcentos-screen2.png
... View more
Labels:
- Labels:
-
Apache Ambari