org.apache.hadoop.conf.ConfigurableCgroupsLCEResourcesHandler, DefaultLCEResourcesHandler@Deprecated
public interface LCEResourcesHandler
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Method | Description |
|---|---|---|
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 init(LinuxContainerExecutor lce) throws java.io.IOException
java.io.IOExceptionvoid preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.Resource containerResource)
throws java.io.IOException
containerId - the id of the container being launchedcontainerResource - the node resources the container will be usingjava.io.IOExceptionvoid postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerId - the id of the container which was launchedjava.lang.String getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.