ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9015) Unsorted aggregate metrics returned by API
Date Tue, 06 Jan 2015 21:03:34 GMT

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

Mime
View raw message