Hi Shashidhar,

In general, the architecture is:

Web UI (JS) -> Rest API (provided by ambari-server java implementation) ->
ambari-agent (written on python) -> system scripts for service deployment
and control (written on python, launched by ambari-agent and executed in
separate processes).

Python-client is available as an alternative to Web UI. But it is not used
by agent scripts.


On Fri, Aug 8, 2014 at 10:04 PM, Shashidhar Rao <[email protected]>
wrote:

> Hi,
>
> Anyone please help me if my understanding is correct of how python srcipt
> works with Ambari.
>
> Ambari web exposes a rest webservice through jersey. In python, there is
> this HTTP client which sends rest request GET,PUT,POST etc through python
> rest component and this component is used by Python agent scripts to get
> the details.
>
> Please help me out if this architecture is correct.
>
> Thanks in advance.
>
> Regards
> shashi
>



-- 
Thanks,
Dmitry

-- 
CONFIDENTIALITY NOTICE
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.

Reply via email to