java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup
All Implemented Interfaces:
Runnable

public class ContainerCleanup extends Object implements 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 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

    • run

      public void run()
      Specified by:
      run in interface Runnable