ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiang....@sky-data.cn
Subject Re: could retry install do uninstall first
Date Fri, 23 Mar 2018 01:29:02 GMT
So when and who call the uninstall function in the service script?

----- Original Message -----
From: "Di Li" <osjiras@gmail.com>
To: dev@ambari.apache.org
Sent: Thursday, March 22, 2018 9:17:32 PM
Subject: Re: could retry install do uninstall first

First of all, Ambari's "Delete" is more of "unregistering" a component from
Ambari's management. It does not remove component binaries.

Retry install does not uninstall. In the Ambari paradigm, "adding" a
component to a host has three parts, install the binary, config, start. The
"install" option on the host menu calls the install method of that
component to install the binary and local config (you should try to make
the config step idempotent).

On Thu, Mar 22, 2018 at 8:48 AM, <xiang.dai@sky-data.cn> wrote:

> Hi!
>
> I add some service and want to use amabri to install and manage them, but
> i have some question about retry install.
>
> Does retry install do uninstall first and then install?
>
> If not, i think failed install would make next install failed.
>
> Also, uninstall manually is not cool.
>

Mime
View raw message