Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
-
None
Description
For request URL:
/api/v1/clusters/cl/hosts?fields=host_components/HostRoles/service_name
Response missing "service_name" field:
{ "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/hosts?fields=host_components/HostRoles/service_name", "items" : [ { "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/hosts/dev01.hortonworks.com", "Hosts" : { "cluster_name" : "cl", "host_name" : "dev01.hortonworks.com" }, "host_components" : [ { "href" : "http://192.168.56.101:8080/api/v1/clusters/cl/hosts/dev01.hortonworks.com/host_components/APP_TIMELINE_SERVER", "HostRoles" : { "cluster_name" : "cl", "component_name" : "APP_TIMELINE_SERVER", "host_name" : "dev01.hortonworks.com" } } ] }
Also filtering by service_name doesn't work:
Request: /api/v1/clusters/cl/hosts?host_components/HostRoles/service_name=HDFS&fields=host_components/HostRoles/service_name
Return empty items
Attachments
Issue Links
- links to