You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/05/20 19:14:38 UTC
[jira] [Created] (AMBARI-5832) "service_name" field unavailable
from Hosts API
Dmitry Lysnichenko created AMBARI-5832:
------------------------------------------
Summary: "service_name" field unavailable from Hosts API
Key: AMBARI-5832
URL: https://issues.apache.org/jira/browse/AMBARI-5832
Project: Ambari
Issue Type: Bug
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Fix For: 1.6.1
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" : {
--
This message was sent by Atlassian JIRA
(v6.2#6252)