Jaeboo Jeong created SLIDER-1009:
------------------------------------
Summary: Slider stop command doesn’t invoke stop function inside
an app package
Key: SLIDER-1009
URL: https://issues.apache.org/jira/browse/SLIDER-1009
Project: Slider
Issue Type: Improvement
Components: agent
Affects Versions: Slider 0.81
Reporter: Jaeboo Jeong
As you know, slider stop does not stop the components started by slider,
instead it stops only SliderAM.
In many case, this problem will be solved via YARN-3561 or HADOOP-11989.
But if there isn’t any relation between component processes and slider agent
process,
the components will remain after slider application is stopped.
If we want to stop the remained components, we need to invoke a stop function.
(Of course it assumes that the stop function has the abilities that can stop
components.)
I patched the source code that is based on slider 0.81.1 + SLIDER-128 patch.
When the agent receives the kill signal, the agent executes a stop command like
DockerManager
and then all components will be stopped.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)