Support Questions
Find answers, ask questions, and share your expertise

While installing the services in Hortonworks cluster through Apache Ambari, we are getting the below failure in the log.

Highlighted

Re: While installing the services in Hortonworks cluster through Apache Ambari, we are getting the below failure in the log.

@Jay Kumar SenSharma

We followed all the steps mentioned in the page https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/setting_up_a... to setup the repository. But still it is failing with the same error message as below:-


RuntimeError: Failed to execute command '/usr/bin/yum -y install ambari-metrics-monitor', exited with code '1', message: 'warning: /var/cache/yum/x86_64/7Server/ambari-2.7.3.0/packages/ambari-metrics-monitor-2.7.3.0-139.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 07513cad: NOKEY 

 

GPG key retrieval failed: [Errno 14] HTTP Error 404 - Not Found


We created the symbolic link in the /var/www/html folder for the local repository as below:-


[root@nladfmrvu11 html]#

[root@nladfmrvu11 html]#

[root@nladfmrvu11 html]# ll

total 0

drwxrwxrwx. 3 root root 20 Jun 5 11:43 ambari

lrwxrwxrwx. 1 root root 43 Jun 3 16:54 HDP -> /dtf/Ambarisoftwares/HDP/centos7/3.1.0.0-78

lrwxrwxrwx. 1 root root 47 Jun 3 16:55 HDP-UTILS -> /dtf/Ambarisoftwares/HDP-UTILS/centos7/1.1.0.22

[root@nladfmrvu11 html]#

[root@nladfmrvu11 html]# pwd

/var/www/html

[root@nladfmrvu11 html]#

[root@nladfmrvu11 html]#


Can there be any issue with Apache Webserver so that the softlinks are not getting resolved properly?


The content of the ambari.repo file is as below:-


[root@nladfmrvu11 yum.repos.d]#

[root@nladfmrvu11 yum.repos.d]# cat ambari.repo

#VERSION_NUMBER=2.7.3.0-139

[ambari-2.7.3.0]

#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json

name=ambari Version - ambari-2.7.3.0

baseurl=http://nladfmrvu11:20001/ambari/centos7/2.7.3.0-139/

gpgcheck=1

gpgkey=http://nladfmrvu11:20001/ambari/centos7/2.7.3.0-139/RPM-GPG-KEY/RPM-GPG-Jenkins

enabled=1

priority=1


[root@nladfmrvu11 yum.repos.d]#

[root@nladfmrvu11 yum.repos.d]#



Re: While installing the services in Hortonworks cluster through Apache Ambari, we are getting the below failure in the log.

@Jay Kumar SenSharma Please let me know if there is any other solution for this issue.