Hi,

I browsed through the ambari source code and I was looking for code on how
Ambari pulls out data for HDFS/Map reduce information.

I was looking at the ambari source code in the ambari-server directory to
find how ambari interacts with hadoop and was searching for hadoop related
classes in the imports section. But I could not find none.

Can somebody let me know on how ambari connects to Hdfs or Map reduce. I am
sure there has to be some class imports of hadoop related classes.

Thanks in advance.

Regards
Shashi


On Sat, Aug 9, 2014 at 12:45 AM, Dmitry Lysnichenko <
[email protected]> wrote:

> 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