The Slider agent should receive a stop command from the Slider AM. I am not sure what the agent does with the stop command in the case of docker containers. Also, I think the AM proceeds to release the containers whether or not the graceful stop has been completed. There seems to be a global property in the appConfig, site.global.app_container.release_timeout_secs, that controls how long the AM will wait between issuing the stop command to the agents and telling the RM to release the containers.
On Tue, Jul 4, 2017 at 12:11 AM, Chengeng Ou <c...@freewheel.tv> wrote: > Hi, community. > I’d like to ask a question, since I’ve met some problems when using Slider. > How slider-agent receives stop command after I execute ‘slider stop xxx’ > by slider client command. Does slider-agent receive commands directly from > slider-master, or does it just listen and monitor a state change of > zookeeper node? The reason why I ask this question is that my docker > containers fail to be stopped by Slider, so I’d like to troubleshooting > this problem. > > Hope for your reply. > > Thanks, > Chengeng Ou >