Vitaly Brodetskyi created AMBARI-6546:
-----------------------------------------
Summary: 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
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)