Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to enable stop services in parallel

Solved Go to solution
Highlighted

how to enable stop services in parallel

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

Accepted Solutions
Highlighted

Re: how to enable stop services in parallel

@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
Highlighted

Re: how to enable stop services in parallel

@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

Don't have an account?
Coming from Hortonworks? Activate your account here