Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

how to enable stop services in parallel

avatar

in our ambari cluster

when we stop some services ,

then we sow that the first service progress is stoping

but the other services are pending

how to enable all stop services to be stop in parallel ?

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Super Guru

@Michael Bronson,

This is because of dependency between the services. These are defined in role_command_order.json. If there is no dependency for the component it can run in parallel between the nodes. However in a particular node the execution will be sequential.

You can check the role_command_order.json for different services and their dependencies. Just run the command in ambari server to find all the json files.

find /var/lib/ambari-server/ -iname role_command_order.json

Thanks,

Aditya

View solution in original post

1 REPLY 1

avatar
Super Guru

@Michael Bronson,

This is because of dependency between the services. These are defined in role_command_order.json. If there is no dependency for the component it can run in parallel between the nodes. However in a particular node the execution will be sequential.

You can check the role_command_order.json for different services and their dependencies. Just run the command in ambari server to find all the json files.

find /var/lib/ambari-server/ -iname role_command_order.json

Thanks,

Aditya