Doroszlai, Attila created AMBARI-23986:
------------------------------------------

             Summary: Host components API call doesn't return all host 
components
                 Key: AMBARI-23986
                 URL: https://issues.apache.org/jira/browse/AMBARI-23986
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 3.0.0
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
             Fix For: 3.0.0


Some host components are missing from the list response, but can be queried 
individually:

{noformat}
$ curl "http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components"; | 
jq -r '.items[].href'
http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/1
http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/2
http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/3
http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/4
$ curl --head 
"http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/5";
HTTP/1.1 200 OK
$ curl --head 
"http://c7401:8080/api/v1/clusters/TEST/hosts/c7401/host_components/6";
HTTP/1.1 200 OK
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to