Support Questions
Find answers, ask questions, and share your expertise

CSD Define Roles' start and stop order

CSD Define Roles' start and stop order

Explorer

I have a custom Service that contains 2 Roles that should be installed together on each node. But I couldn't find anything on how to define the start and stop order between those roles. 

Any solution would be much appreciated.

3 REPLIES 3

Re: CSD Define Roles' start and stop order

@FRG96 Check out below reference doc. This can help you to tweak CSDs. 

https://github.com/cloudera/cm_ext/wiki/Service-Descriptor-Language-Reference


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Re: CSD Define Roles' start and stop order

Explorer

I am following the same documentation but I couldn't find anything on how to define the start order between 2 roles in my custom service. I have defined the startRunner for each role and it is starting both roles at the same time when I add the service to CDH. Similarly, I want to define the stop order of the roles.

Re: CSD Define Roles' start and stop order

Explorer

Is there any way out for this? In Ambari, there is a role_command_order.json for custom service's component start/stop ordering. Anything similar in Cloudera Manager?