ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiang....@sky-data.cn
Subject Re: question about service both has master and client
Date Sat, 14 Apr 2018 02:05:32 GMT
By the way, i found that if install master and client on same node, the client would at "STARTED"
status, and can not exec "restart all" successfully.

----- Original Message -----
From: "Di Li" <osjiras@gmail.com>
To: dev@ambari.apache.org
Sent: Saturday, April 14, 2018 4:04:10 AM
Subject: Re: question about service both has master and client

Restart all = stop, re-install client, start non-client components
Stop then start is just what it indicates.

On Thu, Apr 12, 2018 at 10:30 PM, <xiang.dai@sky-data.cn> wrote:

> Hi!
>
> I define a custom service which include master and client.
>
> In master script, it has install/status/configuare/start/stop function.
>
> In client script, it only has *install* function.
>
> For A node, i install master, and for B node, i install client.
>
> I install and stop as expected, but when exec "restart all" from web,
>
> A node restart as usual, but B node exec *install* function.
>
> In my thought, "restart all" should work like "stop" which only work for
> master/slave node.
>
> Is is a bug or someting import i had missed?
>
> Best Wishes
>
-- 
戴翔 
南京天数信息科技有限公司 
电话: +86 1 3382776490 
公司官网: www.sky-data.cn 
免费使用天数润科智能计算平台 SkyDiscovery

Mime
View raw message