[
https://issues.apache.org/jira/browse/AMBARI-9612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324436#comment-14324436
]
Florian Barca commented on AMBARI-9612:
---------------------------------------
Manual test steps:
- Navigate to the Kafka tab in the web ui. Observe that the Log Flush Status
chart is empty.
- Open 2 ssh sessions on the Kafka machine
- Session 1:
pushd /usr/hdp/current/kafka-broker/
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1
--partitions 1 --topic test
bin/kafka-console-producer.sh --broker-list <machine_name>:6667 --topic test
<type some messages here>
- Session 2:
pushd /usr/hdp/current/kafka-broker/
bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic test
--from-beginning
<observe the messages from session 1 appearing here>
- Switch back to the web ui. Wait for the charts to be refreshed (~30s).
Observe the Log Flush Status chart displaying activity data.
> AMS : Kafka Metrics - Log flush status metrics do not show up.
> --------------------------------------------------------------
>
> Key: AMBARI-9612
> URL: https://issues.apache.org/jira/browse/AMBARI-9612
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.0.0
> Environment: Linux
> Reporter: Florian Barca
> Assignee: Florian Barca
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-9612.0.patch
>
>
> STR
> Deploy cluster
> Go on Kafka tab
> Actual result : Log flush status metrics are absent.
> Please refer to the attached screen shot.
> API call does not return the metrics:
> Request:
> http://172.18.146.183:8080/api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/1MinuteRate[1423080517,1423084117,15]
> Response:
> {
> href:
> "http://172.18.146.183:8080/api/v1/clusters/cl1/services/KAFKA/components/KAFKA_BROKER?fields=metrics/kafka/log/LogFlushStats/LogFlushRateAndTimeMs/1MinuteRate[1423080517,1423084117,15]",
> ServiceComponentInfo:
> { cluster_name: "cl1", component_name: "KAFKA_BROKER", service_name: "KAFKA" }
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)