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.

No Kafka Metrics on Ambari Metrics

Solved Go to solution
Highlighted

No Kafka Metrics on Ambari Metrics

Expert Contributor

Hi Guys,

I have an issue on Ambari Metrics displaying kafka metrics.

It doesnt show kafka metrics but it does have host metrics.

4354-selection-007.png

4355-selection-008.png

Upon checking on API, it doesn't show any compare to other components.

Please help where to start to fix it. Thank you!

Ambar 2.2.0

HDP-2.3.2

http://metric.server.com:8080/api/v1/clusters/MyCluster/services/KAFKA/components/KAFKA_BROKER

 {"href": "http://metric.server.com:8080/api/v1/clusters/MyCluster/services/KAFKA/components/KAFKA_BROKER","ServiceComponentInfo": {"category": "MASTER","cluster_name": "MyCluster","component_name": "KAFKA_BROKER","installed_count": 0,"service_name": "KAFKA","started_count": 1,"state": "STARTED","total_count": 1},"host_components": [{"href": "http://metric.server.com:8080/api/v1/clusters/MyCluster/hosts/kafka.server.com/host_components/KAFKA_BROKER","HostRoles": {"cluster_name": "MyCluster","component_name": "KAFKA_BROKER","host_name": "r6r41kafka.manila.exist.com"}}]}
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: No Kafka Metrics on Ambari Metrics

Hi Michael,

Can you check the ambari metric collector log on that machine that is not reporting ambari metrics? I believe it should be under /var/log/ambari-metrics-collector/*.log|out

View solution in original post

2 REPLIES 2
Highlighted

Re: No Kafka Metrics on Ambari Metrics

Hi Michael,

Can you check the ambari metric collector log on that machine that is not reporting ambari metrics? I believe it should be under /var/log/ambari-metrics-collector/*.log|out

View solution in original post

Highlighted

Re: No Kafka Metrics on Ambari Metrics

New Contributor

check the property :kafka.metrics.reporters ... in my case it was blank ... i updated with 'org.apache.hadoop.metrics2.sink.kafka.KafkaTimelineMetricsReporter' and it worked....

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