[
https://issues.apache.org/jira/browse/AMBARI-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373808#comment-15373808
]
Hudson commented on AMBARI-17615:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #5286 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5286/])
AMBARI-17615 : AMS metrics GET API does not work for same metric with
(avijayan:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7a7d757721b277134f73f5664ec8ab909929c84d])
*
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStoreTest.java
*
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
*
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/ITPhoenixHBaseAccessor.java
*
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java
* ambari-metrics/ambari-metrics-timelineservice/pom.xml
*
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessorTest.java
> AMS metrics GET API does not work for same metric with multiple aggregation
> functions
> -------------------------------------------------------------------------------------
>
> Key: AMBARI-17615
> URL: https://issues.apache.org/jira/browse/AMBARI-17615
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.4.0
> Reporter: Aravindan Vijayan
> Assignee: Aravindan Vijayan
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-17615-2.patch
>
>
> AMS API which used to work in previous versions is now broken in 2.4.0 version
> {noformat}
> GET
> http://<host>:6188/ws/v1/timeline/metrics?metricNames=bytes_in._min,bytes_in._max,bytes_in._sum,bytes_in._avg&appId=HOST&precision=hours&startTime=1466928000000&endTime=1467439200000&hostname=<host>
> failed. Status:400
> {
> "exception": "BadRequestException",
> "message": "java.lang.Exception: Multiple aggregate functions not supported.",
> "javaClassName": "org.apache.hadoop.yarn.webapp.BadRequestException"
> }
> {noformat}
> This impacts SmartSense capture
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)