org.apache.hadoop.conf.Configurable, LCEResourcesHandler@Deprecated public class DefaultLCEResourcesHandler extends java.lang.Object implements LCEResourcesHandler
| Constructor | Description |
|---|---|
DefaultLCEResourcesHandler() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
Deprecated.
|
java.lang.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 java.lang.String getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
getResourcesOption in interface LCEResourcesHandlerCopyright © 2008–2025 Apache Software Foundation. All rights reserved.