[
https://issues.apache.org/jira/browse/AMBARI-9015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266876#comment-14266876
]
Hudson commented on AMBARI-9015:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1409 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1409/])
AMBARI-9015. Unsorted aggregate metrics returned by API. (swagle) (swagle:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4000258cb2846b0dca620be26ee0ee3be26cf326)
*
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
> 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)