You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by 赵全超 <zh...@ondemand.cn> on 2014/06/19 06:25:22 UTC

答复: Ambari-agent design : how and when agent get service-component commandScript

There still some questions:
1. your " installation " referring service-component installation?
2. Agent make cache through http or other way ?

Thank you !






-----邮件原件-----
发件人: Sumit Mohanty [mailto:smohanty@hortonworks.com] 
发送时间: 2014年6月19日 12:02
收件人: dev@ambari.apache.org
主题: Re: Ambari-agent design : how and when agent get service-component commandScript

The service command scripts are available at /var/lib/ambari-agent/cache/stacks/HDP upon installation on agent hosts.
If scripts change then when agents re-registers (e.g. ambari-server
restart) agents can also download the new scripts and update its cache.

-Sumit


On Wed, Jun 18, 2014 at 7:47 PM, 赵全超 <zh...@ondemand.cn> wrote:

> Hi,every one:
>
> Ambari agent use python-based command scripts to manage 
> hostComponent,However, In the Ambari-Server source code,Server only 
> put script name in the hostcommand parameters,Agent how and when get 
> the real python-based command script file?
>
>
>
> Thank you!
>
>
>
> ZhaoQuanchao
>
>
>
> China,Beijing
>
>

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