hi there,

I have a little question about runnable's lifecycle.


In my mind, the runnable's lifecycle looks like this: init -> run -> destroy, 
if stop method invokes, it will influence the run state. 


If I invoke the terminate method of TwillController, it will enter the 
doShutDown method of YarnTwillController. I've seen that there is a time 
control for stop time, like this:

Does it mean that, after the stop method of Runnable invoked, it only allows 
Runnable to do stop process up to 60 seconds??If Runnable cannot stop in 60 
seconds, controller will kill this app by force? How to adjust this stop time 
limit?


Hoping for your voice.
Thanks!


Haosu Guo

Reply via email to