ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nahappan Somasundaram (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15703) HostResourceProvider should include maintenance_state when a request is made directly with the host name
Date Tue, 05 Apr 2016 14:12:25 GMT

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

Nahappan Somasundaram updated AMBARI-15703:
-------------------------------------------
    Status: Open  (was: Patch Available)

> HostResourceProvider should include maintenance_state when a request is made directly
with the host name
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-15703
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15703
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>             Fix For: 2.4.0
>
>         Attachments: rb45714.patch
>
>
> The property ** maintenance_state ** is not available in host response when making a
request directly on the host instead of via the clusters.
> curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/hosts/c6403.ambari.apache.org
> The above query does not return maintenance_state.
> The following query does:
> http://c6403.ambari.apache.org:8080/api/v1/clusters/c1/hosts/c6403.ambari.apache.org



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message