-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56264/#review164125
-----------------------------------------------------------




ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java
 (line 179)
<https://reviews.apache.org/r/56264/#comment235714>

    The count for appId will get incremented for every metric, leading to wrong 
values.


- Aravindan Vijayan


On Feb. 3, 2017, 3:17 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56264/
> -----------------------------------------------------------
> 
> (Updated Feb. 3, 2017, 3:17 a.m.)
> 
> 
> Review request for Ambari, Aravindan Vijayan, Dmytro Sen, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-19858
>     https://issues.apache.org/jira/browse/AMBARI-19858
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> {quote}
> live_hosts                                => # count of total hosts reporting 
> metrics
> live_hosts & appId = <appId> => # count of hosts hosting this appId
> {quote}
> 
> Where appId = { namenode, datanode, hbase ... etc }
> 
> 
> Diffs
> -----
> 
>   
> ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
>  8d567ce 
>   
> ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricAppAggregator.java
>  d7b0d55 
>   
> ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java
>  6f3d8bc 
>   
> ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricReadHelper.java
>  7a74e24 
>   
> ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricClusterAggregatorSecondTest.java
>  58d908a 
> 
> Diff: https://reviews.apache.org/r/56264/diff/
> 
> 
> Testing
> -------
> 
> mvn test passed for ambari-metrics.
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>

Reply via email to