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.

where does Ambari metrics saves log?

Highlighted

where does Ambari metrics saves log?

Contributor

We moved to Ambari metrics from Ganglia but still see the log files of Ganglia getting logged as messages. why is it so?

rw-r----- 1 root root 119M Jan 26 13:25 messages

Please note ganglia service is removed from the cluster

Thanks in advance!!

13 REPLIES 13
Highlighted

Re: where does Ambari metrics saves log?

Based on this article, I believe they are located at:

Collector logs: /var/log/ambari-metrics-collector/ambari-metrics-collector.log, /var/log/ambari-metrics-collector/hbase-ams-master-<host>.log, /var/log/ambari-metrics-collector/hbase-ams-master-<host>.out

Highlighted

Re: where does Ambari metrics saves log?

Contributor
@Daniel Hendrix

thanks for the info! But do we know why we are getting Ganglia logs as messages (active) even though service is removed?

Highlighted

Re: where does Ambari metrics saves log?

@AR

There is probability that Ganglis process is still running.

See this doc

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_upgrading_Ambari/content/_moving_from_gan...

Highlighted

Re: where does Ambari metrics saves log?

Contributor

@Neeraj Sabharwal

I checked this document....As per the Ambari dashboard the ganglia service is not running ...is there a way to check ganglia service is running other than using Ambari?

Re: where does Ambari metrics saves log?

@Neeraj Sabharwal Do any processes related to ganglia appear when running jps in the terminal?

Highlighted

Re: where does Ambari metrics saves log?

Expert Contributor

Run ps -ef|grep ganglia on terminal.

Highlighted

Re: where does Ambari metrics saves log?

Contributor

@Rahul Pathak @Neeraj Sabharwal @Daniel Hendrix

Looks like for some reason kafka uses Ganglia and Ambari metrics

this is what I see...Do we know why? Thanks in advance!!

/usr/hdp/2.3.2.0-2950/kafka/bin/../libs/metrics-ganglia-2.2.0.jar

/usr/hdp/2.3.2.0-2950/kafka/bin/../libs/kafka-ganglia-0.8.2.2.3.2.0-2950.jar

Highlighted

Re: where does Ambari metrics saves log?

@AR You can restart kafka...

Highlighted

Re: where does Ambari metrics saves log?

Contributor

@Neeraj Sabharwal

are these required in HDP 2.3?

metrics-ganglia-2.2.0.jar

Kafka-ganglia-0.8.2.2.3.2.0-2950.jar

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