[ 
https://issues.apache.org/jira/browse/AMBARI-15703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227358#comment-15227358
 ] 

Hudson commented on AMBARI-15703:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4600 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4600/])
AMBARI-15703: HostResourceProvider should include maintenance_state when 
(nsomasundaram: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=29b6542b014a0d1c4183a055c6b3bb4600526c12])
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java


> 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)

Reply via email to