You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/07/08 04:23:10 UTC

[jira] [Updated] (AMBARI-17615) AMS metrics GET API does not work for same metric with multiple aggregation functions

     [ https://issues.apache.org/jira/browse/AMBARI-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aravindan Vijayan updated AMBARI-17615:
---------------------------------------
    Status: Patch Available  (was: Open)

> 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)