Class ContainerCleanup
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup
- All Implemented Interfaces:
Runnable
Cleanup the container.
Cancels the launch if launch has not started yet or signals
the executor to not execute the process if not already done so.
Also, sends a SIGTERM followed by a SIGKILL to the process if
the process id is available.
-
Constructor Summary
ConstructorsConstructorDescriptionContainerCleanup(Context context, org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.yarn.event.Dispatcher dispatcher, ContainerExecutor exec, Container container, ContainerLaunch containerLaunch) -
Method Summary
-
Constructor Details
-
ContainerCleanup
public ContainerCleanup(Context context, org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.yarn.event.Dispatcher dispatcher, ContainerExecutor exec, Container container, ContainerLaunch containerLaunch)
-
-
Method Details