Aravindan Vijayan created AMBARI-17615:
------------------------------------------
Summary: 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
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)