Interface LCEResourcesHandler

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Implementing Classes:
CgroupsLCEResourcesHandler, DefaultLCEResourcesHandler

@Deprecated public interface LCEResourcesHandler extends org.apache.hadoop.conf.Configurable
Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
    Deprecated.
     
    void
    Deprecated.
     
    void
    postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
    Deprecated.
    Called by the LinuxContainerExecutor after the executable inside the container has exited (successfully or not).
    void
    preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource)
    Deprecated.
    Called by the LinuxContainerExecutor before launching the executable inside the container.

    Methods inherited from interface org.apache.hadoop.conf.Configurable

    getConf, setConf
  • Method Details

    • init

      void init(LinuxContainerExecutor lce) throws IOException
      Deprecated.
      Throws:
      IOException
    • preExecute

      void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource) throws IOException
      Deprecated.
      Called by the LinuxContainerExecutor before launching the executable inside the container.
      Parameters:
      containerId - the id of the container being launched
      containerResource - the node resources the container will be using
      Throws:
      IOException
    • postExecute

      void postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
      Deprecated.
      Called by the LinuxContainerExecutor after the executable inside the container has exited (successfully or not).
      Parameters:
      containerId - the id of the container which was launched
    • getResourcesOption

      String getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
      Deprecated.