You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Nahappan Somasundaram (JIRA)" <ji...@apache.org> on 2016/04/05 01:04:25 UTC
[jira] [Updated] (AMBARI-15703) HostResourceProvider should include
maintenance_state when a request is made directly with the host name
[ https://issues.apache.org/jira/browse/AMBARI-15703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nahappan Somasundaram updated AMBARI-15703:
-------------------------------------------
Attachment: rb45714.patch
> 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)