ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Wagle <>
Subject Re: Adding install priority to custom services
Date Wed, 04 Mar 2015 20:27:33 GMT
Hi Satya,

Take a look at the


This json structure is used to build the dependency graph between components.

Every stack overrides this file to add order between new components that the stack introduces,
so that the base copy of this file remains unchanged.

In your case, if you add INSTALL time or START time dependencies between service2 to service1
components, Ambari will re-order the commands automatically.

Note: Format of the keys in the json is "ComponentName"-"Command" (Commands: START, INSTALL,



From: Satyanarayana Jampa <>
Sent: Wednesday, March 04, 2015 3:08 AM
Subject: Adding install priority to custom services

I have created some custom services, and in my case the "service2" needs "service1" to be
installed first as it is needed for service2 to function properly.
How can I specify the dependency or order in which the services should be installed.


View raw message