[ 
https://issues.apache.org/jira/browse/AMBARI-15749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236470#comment-15236470
 ] 

Hudson commented on AMBARI-15749:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4635 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4635/])
AMBARI-15749 : Add AMS post processing function to show the metrics (avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=45bac47f8980cef1871155b5b3dd201c3055bbcd])
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/Function.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStoreTest.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/FunctionTest.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java


> Add AMS post processing function to show the metrics 'diff' over time.
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-15749
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15749
>             Project: Ambari
>          Issue Type: Task
>    Affects Versions: 2.2.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15749.patch
>
>
> The use case is that, e.g. user wants to know how frequently the containers 
> are allocated over time.  Currently, the num of allocated containers is an 
> aggregated value, so it's always a monotonically increasing line chart.
> To show how frequently the containers are allocated, currently we do have a 
> 'rate' option on the UI. But the way that is calculated is ( NumContainers@T2 
> -  NumContainers@T1) / (T2 - T1)(in seconds). This results in decimal values 
> on the UI.
> Here, the use case is to just show the num 'diff' here, instead of dividing 
> it by time interval.
> With this change, I can change the Grafana UI to use bar chart.
> Each bar represents the number of containers allocated between the the time 
> interval (time interval here is the width of the bar)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to