Support Questions

Find answers, ask questions, and share your expertise

Running custom script after service start

Explorer

Hi,

Is there a way to run custom script automatically after yarn service restarts?

 

Thanks!

2 REPLIES 2

Expert Contributor

There is no option to run a script during/after a service restart in Cloudera Manager. A possible alternative way may be to poll the service status using CM API in your script, then act on changes. 

 

Just out of interest, what is this script supposed to do?

Explorer

Hi,

Thanks for the reply.

I wish to get cloudera definitions after I update them and send it to my app.