ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Di Li <>
Subject Re: Questions aboute install order
Date Wed, 21 Mar 2018 12:45:06 GMT
metainfo only list direct dependencies. RCO only dictates what a dependent
should do when it INSTALL/START if its dependencies are also INSTALL-*ing*,
START-*ing*, etc.  You can verify this by running a start all, where high
level services waits for their dependencies to start.  It does not,
howerver, let Ambari install/start dependencies for you. You can easily
verify this by starting a high level service such as HBASE and has RCO
depdencies on HDFS.

On Wed, Mar 21, 2018 at 4:11 AM, <> wrote:

> Hi!
> I know that when choose services, i can define service dependence in
> service's metainfo.xml,
> at the same time, i can define order in role_command_order.json.
> I have some questions:
> 1) why the dependence in metainfo can not auto covert into
> role_command_order which i think it is very cool?
> A depend on B, so install B before install A, isn't it?
> 2) If A depend on B and C, D depend on A and E, i define in
> role_command_order.json as below:
> so the install order is B,C,A,E,D , right?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message