You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "David.Serafini" <Da...@target.com> on 2017/03/29 20:47:13 UTC

slider appmaster behavior

Under what circumstances will the slider appmaster stop the process in an application  container?
How exactly does it do this?

context: I'm seeing the shell script that runs my app being signaled (which I'm trapping) and the subprocess being run by the shell script is terminated (don't know how, yet) and the program that I run in the shell script's trap handler is being interrupted too.



Re: slider appmaster behavior

Posted by Billie Rinaldi <bi...@gmail.com>.
I don't have an exhaustive list of the conditions, but here are some cases
where the AM stops containers:
- the agent stops heartbeating to the master
- the AM decides the app needs to be stopped
- the client requests that the app stop
- the client requests that a container be killed

What does the AM log say?

On Wed, Mar 29, 2017 at 1:47 PM, David.Serafini <Da...@target.com>
wrote:

> Under what circumstances will the slider appmaster stop the process in an
> application  container?
> How exactly does it do this?
>
> context: I'm seeing the shell script that runs my app being signaled
> (which I'm trapping) and the subprocess being run by the shell script is
> terminated (don't know how, yet) and the program that I run in the shell
> script's trap handler is being interrupted too.
>
>
>