ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11030) Queue-specific metrics cannot be queried as time series data via Ambari API
Date Tue, 12 May 2015 23:47:02 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-11030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541029#comment-14541029
] 

Hudson commented on AMBARI-11030:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2575 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2575/])
AMBARI-11030 Queue-specific metrics cannot be queried as time series data via Ambari API (dsen)
(dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c94780aa3e3636818e3011bede6acdf2066e3fe4)
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BaseProviderTest.java


> Queue-specific metrics cannot be queried as time series data via Ambari API
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-11030
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11030
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11030.patch
>
>
> Queue-specific metrics cannot be retrieved as time-series data via Ambari API.
> /api/v1/clusters/c1/services/YARN/components/RESOURCEMANAGER?fields=metrics/yarn/Queue/root/default/AppsRunning
returns the point-in-time metric properly.
> However, when you query for it as time-series, in the following format the API returns
nothing:
> /api/v1/clusters/c1/services/YARN/components/RESOURCEMANAGER?fields=metrics/yarn/Queue/root/default/AppsRunning[start,end,interval]
> The time-series query works if you replace /root/default with /root.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message