Interface LCEResourcesHandler
- All Superinterfaces:
org.apache.hadoop.conf.Configurable
- All Known Implementing Classes:
CgroupsLCEResourcesHandler,DefaultLCEResourcesHandler
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptiongetResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId) Deprecated.voidDeprecated.voidpostExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId) Deprecated.Called by the LinuxContainerExecutor after the executable inside the container has exited (successfully or not).voidpreExecute(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
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 launchedcontainerResource- 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
Deprecated.
-