Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Naga Vijay
Hi Bob, Thanks for confirming. I am now able to automate it all (Ambari Server, Ambari Agents, Blueprints, Host Mapping). Thanks Naga On Wed, Nov 18, 2015 at 12:28 PM, Robert Nettleton < rnettle...@hortonworks.com> wrote: > Hi Naga, > > Jonathan is correct, the Blueprints processor requires t

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Robert Nettleton
Hi Naga, Jonathan is correct, the Blueprints processor requires that the ambari-agents be installed and registered. If you are using Ambari 2.1.0 or later, you could potentially install the agents manually, and the Blueprints processor will detect this and start the deployment process on each

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Jonathan Hurley
Unless I’m mistaken, blueprint installations require agents to already be bootstrapped and running on all hosts. On Nov 18, 2015, at 2:58 PM, Naga Vijay mailto:nagah...@gmail.com>> wrote: Thank you, that worked to the point of triggering the install. I could see the background operation (Logi

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Naga Vijay
Thank you, that worked to the point of triggering the install. I could see the background operation (Logical Request: Provision Cluster) running in Ambari UI. But, the background operation is in a hung state. I am wondering whether that is due to missing information (ssh key and login user, as w

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Jonathan Hurley
This all kind of depends on how you created your blueprint and what host groups you have defined. Assuming you have two host groups, here’s an example of what to POST. You also need to specify the blueprint name of the blueprint you created. POST api/v1/clusters/indigo { "blueprint": , "de

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-18 Thread Naga Vijay
I tried removing the href and items, but am unable to POST the host mappings file. Can you please provide the right format for the minimal host mappings file below? { "href" : "http://10.4.148.160:8080/api/v1/clusters/indigo/hosts";, "items" : [ { "href" : " http://10.4.148.160:8080

Re: Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-16 Thread Jonathan Hurley
When you make a REST request to Ambari, it gives you back some JSON which contains the data along with some decorator information. The “href” and “items” elements are only for informational and structure purposes; you wouldn’t want to include them in a POST going back to the server. What are yo

Ambari Blueprints - Re: properties [href, items] specified in the request or predicate are not supported

2015-11-15 Thread Naga Vijay
Just prefixed "Ambari Blueprints" to the subject line above. On Sun, Nov 15, 2015 at 12:48 PM, Naga Vijay wrote: > Hello, > > I am using Ambari 2.1.2 and facing this issue when I POST the host > mappings json file ... > > "message" : "The properties [href, items] specified in the request or > pr