ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiang....@sky-data.cn
Subject Questions aboute install order
Date Wed, 21 Mar 2018 08:11:34 GMT
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: 

A_CLIENT_INSTALL: [B_CLIENT_INSTALL, C_CLIETN_INSTALL], 
D_CLIENT_INSTALL: [A_CLIENT_INSTALL, E_CLIETN_INSTALL], 


so the install order is B,C,A,E,D , right? 

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