Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
-
CentOS 6.4
-
Reviewed
Description
If the main container process is killed externally, ContainerLaunch does not kill the rest of the process group. Before sending the event that results in the ContainerLaunch.containerCleanup method being called, ContainerLaunch sets the "completed" flag to true. Then when cleaning up, it doesn't try to read the pid file if the completed flag is true. If it read the pid file, it would proceed to send the container a kill signal. In the case of the DefaultContainerExecutor, this would kill the process group.
Attachments
Attachments
Issue Links
- blocks
-
SLIDER-599 When application is created as user hdfs need to call destroy twice to delete the hdfs folder for the app
- Resolved