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.

AMBARI_METRIC won't start after install

Solved Go to solution

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

Accepted Solutions

Re: AMBARI_METRIC won't start after install

New Contributor

Please try to install the ambari-metrics-collector

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

7 REPLIES 7

Re: AMBARI_METRIC won't start after install

Contributor

Note Metrics Monitor starts but Metrics Collector doesn't.

Version2.4.2.0

Re: AMBARI_METRIC won't start after install

New Contributor

Please try to install the ambari-metrics-collector

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

Re: AMBARI_METRIC won't start after install

Contributor

Worked like a charm. Appreciated

Re: AMBARI_METRIC won't start after install

New Contributor

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

Re: AMBARI_METRIC won't start after install

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

Re: AMBARI_METRIC won't start after install

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
Highlighted

Re: AMBARI_METRIC won't start after install

New Contributor

Better yum reinstall ambari-metrics-collector

Don't have an account?
Coming from Hortonworks? Activate your account here