Re: Exporting cluster configuration blueprint - recreation

2015-11-25 Thread cs user
Hi Naga, Thanks for getting back to me. So the reason this was failing was due to the fact I had stripped much of the content out of the blueprint (by setting each content field to be "content" : " ") , as I was having trouble passing this as data over ssh (via the chef knife command). Effective

Re: Exporting cluster configuration blueprint - recreation

2015-11-24 Thread Naga Vijay
Hi cs user, I haven't faced this issue, as I use a custom AMI in which JAVA_HOME is set before hand, as part of the environment setup, so when the EC2 instance comes up, it is all set. Thanks Naga On Tue, Nov 24, 2015 at 7:56 AM, cs user wrote: > Hi Naga, > > The host to host_group mappings a

Re: Exporting cluster configuration blueprint - recreation

2015-11-24 Thread cs user
Hi Naga, The host to host_group mappings are defined in the cluster setup call. I'm having a problem however which I never encountered when I performed a manual installation. I'm running into this: resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c

Re: Exporting cluster configuration blueprint - recreation

2015-11-24 Thread Naga Vijay
Hi, Was there an intermediate step for the host mappings? Thanks Naga On Tue, Nov 24, 2015 at 4:28 AM, cs user wrote: > Hi Sean, > > Many thanks for getting back to me. Uploading the cluster json as a > blueprint first, and then creating the cluster seems to have fixed it for > me :-) > > Tha

Re: Exporting cluster configuration blueprint - recreation

2015-11-24 Thread cs user
Hi Sean, Many thanks for getting back to me. Uploading the cluster json as a blueprint first, and then creating the cluster seems to have fixed it for me :-) Thanks!! On Tue, Nov 24, 2015 at 11:28 AM, Sean Roberts wrote: > You are correct that you need to: > - 1. upload the blueprint to /api/v

Re: Exporting cluster configuration blueprint - recreation

2015-11-24 Thread Sean Roberts
You are correct that you need to: - 1. upload the blueprint to /api/v1/blueprints - 2. Then issue a cluster creation request to /api/v1/clusters/thenewcluster https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-BlueprintUsageOverview Your existing cluster was likely not made

Exporting cluster configuration blueprint - recreation

2015-11-24 Thread cs user
Hi All, I've been looking at using blueprints to create a cluster. To do this, I have manually setup a cluster and then navigated to : :8080/api/v1/clusters/testcluster01?format=blueprint This has returned a json file which describes my cluster. I've then created a new cluster and I am trying t