[ https://issues.apache.org/jira/browse/AMBARI-9612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324426#comment-14324426 ]
Florian Barca commented on AMBARI-9612: --------------------------------------- Investigated the test requirements. As it turns out, the chart class ChartLinearTimeView has tests available already (see ambari-web/test/views/common/chart/linear_time_test.js), and the LogFlushStats view uses this class directly, without modifying its behavior. The patch merely fixes the data source. Hence, no unit tests are really needed. > 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)