Many thanks for the pointers, Sid. I have started looking at the documentation
and I have been quite successful in calling the GET APIs. I am having trouble
locating the JSON payload some of the calls require, though.
For example, the POST call to /cluster/{clusterId}/configurations has a JavaDoc
comment with an example JSON payload, but when calling POST to
/cluster/{clusterId} I get a 400 error code with the message "Stack information
should be provided when creating a cluster".
I've tried to follow the code to see where the expected body is defined, but I
can't seem to find the right place. Can you point me towards it?
Thanks!
Ximo.
De: Siddharth Wagle [mailto:[email protected]]
Enviado el: jueves, 21 de marzo de 2013 17:44
Para: [email protected]
Asunto: Re: Some Ambari questions
Hi Ximo,
Here is a link to the Ambari wiki that should give you an idea of the design,
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Design
Currently the API docs are only GET calls. We are working on getting the
documentation up-to-date.
However, all of the calls made by the web UI are supported and if you want to
get a head start before the documentation is ready, you can actually mimic all
the calls made by the web UI and create a running cluster.
Best Regards,
Sid
On Thu, Mar 21, 2013 at 9:32 AM, JOAQUIN GUANTER GONZALBEZ
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I am evaluating Ambari for a BigData platform my team is building, and it sure
looks like there's a bunch of sweet stuff in this project :) I am having some
problem finding documentation for the project, so maybe some of my questions
are answered somewhere and I just can't find the correct resource. Anyway,
here's the stuff I still don't understand about Ambari:
- What is the Ambari agent? Is there any document that describes the
general architecture of Ambari?
- How does the Web component communicate with the Ambari Server?
- Is the list in
https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md
the complete list of supported REST API calls?
Ambari looks like a really interesting project, but in my scenario the UI part
is not important since my team is looking for programmatic ways of deploying
Hadoop clusters. Does Ambari offer a programmatic surface to manage clusters
(set up Federated HDFS, add users, etc.)?
Thanks!
Ximo.
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
nuestra política de envío y recepción de correo electrónico en el enlace
situado más abajo.
This message is intended exclusively for its addressee. We only send and
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
nuestra política de envío y recepción de correo electrónico en el enlace
situado más abajo.
This message is intended exclusively for its addressee. We only send and
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx