Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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