ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17615) AMS metrics GET API does not work for same metric with multiple aggregation functions
Date Tue, 12 Jul 2016 19:07:20 GMT

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

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

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

Mime
View raw message