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/04/16 20:18:58 UTC
[jira] [Resolved] (AMBARI-10543) String matches does not work on
metrics property of Widget response
[ https://issues.apache.org/jira/browse/AMBARI-10543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Wagle resolved AMBARI-10543.
--------------------------------------
Resolution: Fixed
Pushed to trunk.
> String matches does not work on metrics property of Widget response
> -------------------------------------------------------------------
>
> Key: AMBARI-10543
> URL: https://issues.apache.org/jira/browse/AMBARI-10543
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Siddharth Wagle
> Fix For: 2.1.0
>
>
> *Following API does not work*
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/metrics.matches(\"service_name\":\"HDFS\")
> *Note: Following similar API works*
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/widget_name.matches(HOST_DISK_USED)
> {code:title=Response}
> {
> "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/widget_name.matches(HOST_DISK_USED)",
> "items" : [
> {
> "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets/1",
> "Widgets" : {
> "author" : "ambari",
> "cluster_name" : "c1",
> "display_name" : "Host Disk Space Used %",
> "id" : 1,
> "scope" : "CLUSTER",
> "widget_name" : "HOST_DISK_USED",
> "widget_type" : "HEATMAP"
> }
> }
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)