You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2014/07/21 13:56:38 UTC

[jira] [Updated] (AMBARI-6546) API call for hosts filtered by host_components/HostRoles/component_name returns 400 error

     [ https://issues.apache.org/jira/browse/AMBARI-6546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitaly Brodetskyi updated AMBARI-6546:
--------------------------------------

    Attachment: AMBARI-6546.patch

> API call for hosts filtered by host_components/HostRoles/component_name returns 400 error
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-6546
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6546
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-6546.patch
>
>
> When I try to get hosts filtered by host_components/HostRoles/component_name with != clause:
> http://host:8080/api/v1/clusters/my_cluster/hosts?host_components/HostRoles/component_name!=HBASE_MASTER
> API returns
> { "status": 400, "message": "The properties [host_components/HostRoles/component_name] specified in the request or predicate are not supported for the resource type Host." }
> When I try to get hosts filtered by component with '=' clause:
> http://host:8080/api/v1/clusters/my_cluster/hosts?host_components/HostRoles/component_name=HBASE_MASTER



--
This message was sent by Atlassian JIRA
(v6.2#6252)