Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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
Explorer

Better yum reinstall ambari-metrics-collector