Class DeletionService

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.nodemanager.DeletionService
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service

public class DeletionService extends org.apache.hadoop.service.AbstractService
  • Constructor Details

  • Method Details

    • getDebugDelay

      public int getDebugDelay()
    • getContainerExecutor

      public ContainerExecutor getContainerExecutor()
    • getStateStore

      public NMStateStoreService getStateStore()
    • delete

      public void delete(DeletionTask deletionTask)
    • serviceInit

      protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
      Overrides:
      serviceInit in class org.apache.hadoop.service.AbstractService
      Throws:
      Exception
    • serviceStop

      public void serviceStop() throws Exception
      Overrides:
      serviceStop in class org.apache.hadoop.service.AbstractService
      Throws:
      Exception
    • isTerminated

      @Private public boolean isTerminated()
      Determine if the service has completely stopped. Used only by unit tests
      Returns:
      true if service has completely stopped