Class ContainerExecutor.DelayedProcessKiller

java.lang.Object
java.lang.Thread
org.apache.hadoop.util.concurrent.SubjectInheritingThread
org.apache.hadoop.yarn.server.nodemanager.ContainerExecutor.DelayedProcessKiller
All Implemented Interfaces:
Runnable
Enclosing class:
ContainerExecutor

public static class ContainerExecutor.DelayedProcessKiller extends org.apache.hadoop.util.concurrent.SubjectInheritingThread
This class will signal a target container after a specified delay.
See Also:
  • Constructor Details

    • DelayedProcessKiller

      public DelayedProcessKiller(Container container, String user, String pid, long delayMS, ContainerExecutor.Signal signal, ContainerExecutor containerExecutor)
      Basic constructor.
      Parameters:
      container - the container to signal
      user - the user as whow to send the signal
      pid - the PID of the container process
      delayMS - the period of time to wait in millis before signaling the container
      signal - the signal to send
      containerExecutor - the executor to use to send the signal
  • Method Details

    • work

      public void work()
      Overrides:
      work in class org.apache.hadoop.util.concurrent.SubjectInheritingThread