[ https://issues.apache.org/jira/browse/AMBARI-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367264#comment-15367264 ]
Hadoop QA commented on AMBARI-17615: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12816764/AMBARI-17615.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 3 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-metrics/ambari-metrics-timelineservice. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7732//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7732//console This message is automatically generated. > 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.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)