Thanks Dmitro!

So one entry in "general_deps" like:

          "HIVE_SERVER-START": ["NODEMANAGER-START", "MYSQL_SERVER-START"]

Means before "start HIVE_SERVER" ,  "NODEMANAGER-START" and 
"MYSQL_SERVER-START" should be executed first?   And :

         "NAGIOS_SERVER-INSTALL" : ["HIVE_CLIENT-INSTALL", "HCAT-INSTALL",  
"MAPREDUCE_CLIENT-INSTALL", "OOZIE_CLIENT-INSTALL"],

Means before "NAGIOS_SERVER-INSTALL", several components like "HIVE_CLIENT", 
"HCAT", "MAPREDUCE_CLIENT" and "OOZIE_CLIENT" should be installed first ?


From: Dmitro Lysnichenko [mailto:dlysniche...@hortonworks.com]
Sent: Wednesday, February 11, 2015 3:00 PM
To: user@ambari.apache.org
Subject: Re: role_command_order.json specification

Hi

As I remember, key is just an action (e.g. start component HIVE_SERVER), and 
value is just a list "what should be executed before". role_command_order.json 
complements dependencies inherited from parent stack, if any.

Hope this helps
On 11/02/2015 09:52 PM, Yu, Tao wrote:
Hi,

I am new to Ambari and trying to create my own non-HDP stack. Could anyone 
please tell me any detailed specification info about the file 
role_command_order.json, like how to define the key-value pair in this file?

Thanks,
-Tao

Reply via email to