THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ "blueprint" : "single-node-hdfs-yarn", "host_-groups" :[ { "name" : "host_group_1", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" } ] } ] } |
...
Code Block |
---|
{ "blueprint" : "multi-node-hdfs-yarn", "host_-groups" :[ { "name" : "master", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" } ] }, { "name" : "slaves", "hosts" : [ { "fqdn" : "c6402.ambari.apache.org" }, { "fqdn" : "c6403.ambari.apache.org" } ] } ] } |
...
Post the cluster to the Ambari Server to provision the cluster.
Code Block |
---|
POST /api/v1/clusterclusters/MyThreeNodeCluster 202 - Accepted { "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/MyCluster/requests/1", "Requests" : { "id" : 1, "status" : "InProgress" } } |