You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2015/01/06 22:03:34 UTC
[jira] [Updated] (AMBARI-9015) Unsorted aggregate metrics returned
by API
[ https://issues.apache.org/jira/browse/AMBARI-9015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Wagle updated AMBARI-9015:
------------------------------------
Attachment: AMBARI-9015.patch
> Unsorted aggregate metrics returned by API
> ------------------------------------------
>
> Key: AMBARI-9015
> URL: https://issues.apache.org/jira/browse/AMBARI-9015
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.0.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 2.0.0
>
> Attachments: AMBARI-9015.patch
>
>
> API response contains unsorted array elements.
> {code}
> {
> "href" : "http://ams-tmp-1:8080/api/v1/clusters/c1/?fields=metrics/memory%5B1420572305,1420572425,15%5D&_=1420572425000",
> "Clusters" : {
> "cluster_name" : "c1",
> "version" : "HDP-2.2"
> },
> "metrics" : {
> "memory" : {
> "Buffer" : [
> [
> 100320.5,
> 1420572319
> ],
> [
> 91787.33333333333,
> 1420572334
> ],
> [
> 91804.33333333333,
> 1420572349
> ],
> [
> 91820.0,
> 1420572364
> ],
> [
> 91832.0,
> 1420572379
> ],
> [
> 91878.66666666667,
> 1420572424
> ]
> ]
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)