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

AMBARI_METRIC won't start after install

Contributor

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

Cloudera Employee

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

Contributor

Note Metrics Monitor starts but Metrics Collector doesn't.

Version2.4.2.0

Cloudera Employee

Please try to install the ambari-metrics-collector

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

Contributor

Worked like a charm. Appreciated

Cloudera Employee

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

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

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

Explorer

Better yum reinstall ambari-metrics-collector

; ;