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

Hudson commented on AMBARI-17843:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5371 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/5371/])
AMBARI-17843 : App data aggregated for hosted apps is being calcualted 
(avijayan: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a484b2352b5c0d00b007bcdca241943909a5836a])
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/discovery/TimelineMetricMetadataManager.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/aggregators/TimelineMetricAppAggregator.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/discovery/TimelineMetricMetadataKey.java


> App data aggregated for hosted apps is being calcualted for all apps, not 
> just configured ones
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17843
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17843
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.2.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17843.patch
>
>
> timeline.metrics.service.cluster.aggregator.appIds defines what apps to 
> produce host metrics for:
> {quote}List of application ids to use for aggregating host level metrics for
>       an application. Example: bytes_read across Yarn Nodemanagers. {quote}
> Right now we are aggregating for all.
> Additionally, metadata does not expose these additional metrics
> {code}
> 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select distinct(APP_ID) from 
> METRIC_AGGREGATE_MINUTE WHERE METRIC_NAME = 'cpu_user';
> +------------+
> |   APP_ID   |
> +------------+
> | HOST       |
> | ams-hbase  |
> | amssmoketestfake |
> | applicationhistoryserver |
> | datanode   |
> | hivemetastore |
> | hiveserver2 |
> | jobhistoryserver |
> | namenode   |
> | nimbus     |
> | nodemanager |
> | resourcemanager |
> +------------+
> 12 rows selected (0.117 seconds)
> {code}



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

Reply via email to