Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

No Kafka Metrics on Ambari Metrics

avatar
Super Collaborator

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

avatar
New Member

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

avatar
New Member

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

avatar
New Member

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....