Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Metrics Collector Install not found

Metrics Collector Install not found

New Contributor

Help!

Thank you!

2017-05-05 16:55:13,725 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}

2017-05-05 16:55:13,748 - Skipping installation of existing package hdp-select
2017-05-05 16:55:14,133 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-05-05 16:55:14,139 - checked_call['hostid'] {}
2017-05-05 16:55:14,145 - checked_call returned (0, 'a8c0807e')
2017-05-05 16:55:14,153 - Package['ambari-metrics-collector'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-05-05 16:55:14,346 - Installing package ambari-metrics-collector ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector')
2017-05-05 16:55:20,848 - Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector' returned 1. Error: Nothing to do
2017-05-05 16:55:20,849 - Failed to install package ambari-metrics-collector. Executing '/usr/bin/yum clean metadata'
2017-05-05 16:55:21,378 - Retrying to install package ambari-metrics-collector after 30 seconds
5 REPLIES 5

Re: Metrics Collector Install not found

Super Mentor

@frank chen

Please check the output of the following commands on the host where you want to install the "ambari-metrics-collector". To verify that no other version of this package is installed there.

Example: (Version might be different in your case, but it should match the ambari version)
# rpm -qa | grep ambari-metrics-collector
ambari-metrics-collector-2.4.2.0-136.x86_64

# yum whatprovides ambari-metrics-collector

# yum info ambari-metrics-collector

Also please check the output of the yum repo file to see if it is pointing to correct version repo: Example:

# cat /etc/yum.repos.d/ambari.repo 
#VERSION_NUMBER=2.4.2.0-136
[Updates-ambari-2.4.2.0]
name=ambari-2.4.2.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

.

Also please check if the ambari repo is accessible from the mentioned host where you are planning to install AMS.

# grep 'baseurl' /etc/yum.repos.d/ambari.repo 
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0

# wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0/ambari.repo

.

Re: Metrics Collector Install not found

New Contributor

Hi Jay SenSharma,

I used the local repository of the ambari web ui to install hadoop cluster. There are only HDP and HDP-UTILS URL need to input. Do you mean I need add .repo file direct into yum manually?

Thanks.

Re: Metrics Collector Install not found

Super Mentor

@frank chen

If you have installed the Ambari Agents on the hosts using ambari UI then ambari should have pushed the "ambari.repo" file to the agent machines "/etc/yum.repos.d/".

If you are using your own custom repo then please create "/etc/yum.repos.d/ambari.repo" and point it to your baseurl. Because the "ambari-metrics-collector" is part of ambari repo (not HDP repo)

Re: Metrics Collector Install not found

New Contributor

I put in ambari-metrics-collector-2.5.0.3-0.noarch.rpm into my local repository

http://centos7-node3:9999/hdp.war/HDP/centos7/ambari/

and ambari.repo like following,but it doesn't work. :(

#VERSION_NUMBER=2.5.0.3-7

[ambari-2.5.0.3]

name=ambari Version - ambari-2.5.0.3

baseurl=http://centos7-node3:9999/hdp.war/HDP/centos7/

path=/

enabled=1

gpgcheck=0

Re: Metrics Collector Install not found

Super Mentor

@frank chen

Please make sure that all your ambari agent and server hosts has the repo file pointing correctly to your Local repository.