ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: weird error using the ambari API to kick a cluster
Date Mon, 23 Jun 2014 22:16:04 GMT
Hi Greg,

Not sure if you have or not, but you might want to take a look at the
new Ambari Blueprint API [1]
It makes it really simple set up a new cluster with a small number of API calls.

Ambari Python Client can be extended to support Blueprint API, but
right now it doesn't do that yet.
The Blueprint API itself is very simple, so it should not be hard to
add the support if someone wants to take that up.
Ambari Groovy Client already supports Blueprint API (but if you want
to use Python rather than Java, this is not an option for you).



On Mon, Jun 23, 2014 at 6:27 AM, Greg Hill <> wrote:
> Thanks for the help on Friday.  I was able to get most of the way to using
> the Ambari API to set up a test cluster, but I'm now stuck on a fairly
> cryptic problem again.
> I'm running into an error on the Ambari agent side, but I'm confused as to
> the source of the error.  I imagine I'm not passing in some required
> configuration, but the API made no complaints about my lack of providing it.
> My setup is a 3 VM vagrant/virtualbox setup on my local machine using the
> Ambari quick start guide located here:
> I wrote a POC script based on the instructions here:
> Here's a gist with the error message I'm getting from the ambari agent and
> the script I'm using:
> As far as I can tell, the error occurs after I call install_all_services()
> It sounds like the Ambari agent is expecting a 'global' config section to
> exist, but it is not requiring me to provide it, and it is not provided by
> the bootstrap process.
> Any ideas?
> Greg

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message