@Deprecated public class DefaultLCEResourcesHandler extends Object implements LCEResourcesHandler
| Constructor and Description | 
|---|
| DefaultLCEResourcesHandler()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.conf.Configuration | getConf()Deprecated.  | 
| String | getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)Deprecated.  | 
| void | init(LinuxContainerExecutor lce)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. | 
| void | setConf(org.apache.hadoop.conf.Configuration conf)Deprecated.  | 
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void init(LinuxContainerExecutor lce)
init in interface LCEResourcesHandlerpublic void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId,
                       org.apache.hadoop.yarn.api.records.Resource containerResource)
LCEResourcesHandlerpreExecute in interface LCEResourcesHandlercontainerId - the id of the container being launchedcontainerResource - the node resources the container will be usingpublic void postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
LCEResourcesHandlerpostExecute in interface LCEResourcesHandlercontainerId - the id of the container which was launchedpublic String getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
getResourcesOption in interface LCEResourcesHandlerCopyright © 2008–2023 Apache Software Foundation. All rights reserved.