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.
@FRG96 Check out below reference doc. This can help you to tweak CSDs.
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.
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?