ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6546) API call for hosts filtered by host_components/HostRoles/component_name returns 400 error
Date Mon, 21 Jul 2014 11:56:38 GMT

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

Mime
View raw message