Created 12-04-2017 04:36 PM
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 ?
Created 12-04-2017 05:09 PM
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
Created 12-04-2017 05:09 PM
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