ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8458) Add support for "add hosts" specifying host name, blueprint name and host group name
Date Wed, 26 Nov 2014 23:52:14 GMT

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

Hudson commented on AMBARI-8458:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1049 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1049/])
AMBARI-8458. Add support for "add hosts" specifying host name, blueprint name and host group
name (jspeidel: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=058dc168e6173f4206837a1db87d066b372b07b1)
* ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/HostRequest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseBlueprintProcessor.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostComponentResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterControllerImpl.java


> Add support for "add hosts" specifying host name, blueprint name and host group name

> -------------------------------------------------------------------------------------
>
>                 Key: AMBARI-8458
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8458
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: John Speidel
>            Assignee: John Speidel
>             Fix For: 2.0.0
>
>
> Provide a higher level api for host provisioning.
> This api will accept a host name, blueprint name and host group.
> The result of this api call will be fully operational hosts added to the existing cluster
with configuration and components which are defined in the specified blueprint/host_group.
 All components on the added hosts will be installed and started.
> All hosts must be reachable via ambari server and have the ambari agent running and registered
with the ambari server prior to using this api.  
> This is an asynchronous api so it will return the standard asynchronous response.
> {code}
> 202 - Accepted
> {
>   "href" : "http://AMBARI_HOST:8080/api/v1/clusters/c1/requests/2",
>   "Requests" : {
>     "id" : 2,
>     "status" : "InProgress"
>   }
> }
> {code}
> This api will support adding a single host or multiple hosts.
> h4. Single Host:
> {code}
> POST http://AMBARI_HOST:8080/api/v1/clusters/c1/hosts/newHostName.domain
> {
>     "blueprint" : "my_blueprint",
>     "host_group" : "slave"
> }
> {code}
> h4. Multiple Hosts
> {code}
> POST http://AMBARI_HOST:8080/api/v1/clusters/c1/hosts
> [
>   {
>       "blueprint" : "my_blueprint"
>       "host_group" : "slave",
>       "host_name" : "host2.domain"
>   },
>   {
>       "blueprint" : "my_blueprint",
>       "host_group" : "slave",
>       "host_name" : "host5.domain"
>   }
> ]
> {code}



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

Mime
View raw message