You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2018/06/04 23:38:00 UTC

[jira] [Resolved] (AMBARI-23986) Host components API call doesn't return all host components

     [ https://issues.apache.org/jira/browse/AMBARI-23986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doroszlai, Attila resolved AMBARI-23986.
----------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)