Nahappan Somasundaram created AMBARI-15703:
----------------------------------------------

             Summary: 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


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)

Reply via email to