Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

AMBARI_METRIC won't start after install

avatar
Rising Star

Tried to start ambari metric service after install but it errors saying a missing directory, see below.

ls /usr/lib/ams-hbase

conf docs hbase-webapps lib

But no bin directory?

raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))

resource_management.core.exceptions.Fail: Applying File['/usr/lib/ams-hbase/bin/hadoop'] failed, parent directory /usr/lib/ams-hbase/bin doesn't exist
1 ACCEPTED SOLUTION

avatar
Rising Star

Please try to install the ambari-metrics-collector

yum install ambari-metrics-collector on the machine and restart ambari metrics.

View solution in original post

7 REPLIES 7

avatar
Rising Star

Note Metrics Monitor starts but Metrics Collector doesn't.

Version2.4.2.0

avatar
Rising Star

Please try to install the ambari-metrics-collector

yum install ambari-metrics-collector on the machine and restart ambari metrics.

avatar
Rising Star

Worked like a charm. Appreciated

avatar
Rising Star

@David Sheard great that it worked. Can you please accept the answer 🙂

avatar
Expert Contributor

Try to install ambari-metrics-collector

if it's already installed, try to remove the package and then reinstalled :

yum erase ambari-metrics-collector

yum install ambari-metrics-collector

avatar
Expert Contributor

Try to install ambari-metrics-collector

if it's already installed, try to remove the package and then reinstalled :

yum erase ambari-metrics-collector
yum install ambari-metrics-collector

avatar
New Member

Better yum reinstall ambari-metrics-collector