Created on 05-19-2016 07:27 AM - edited 08-18-2019 05:22 AM
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"}}]}
Created 05-19-2016 10:54 AM
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
Created 05-19-2016 10:54 AM
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
Created 11-28-2016 04:15 AM
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....