@Deprecated public class CgroupsLCEResourcesHandler extends Object implements LCEResourcesHandler
Constructor and Description |
---|
CgroupsLCEResourcesHandler()
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.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void init(LinuxContainerExecutor lce) throws IOException
init
in interface LCEResourcesHandler
IOException
public void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource) throws IOException
LCEResourcesHandler
preExecute
in interface LCEResourcesHandler
containerId
- the id of the container being launchedcontainerResource
- the node resources the container will be usingIOException
public void postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
LCEResourcesHandler
postExecute
in interface LCEResourcesHandler
containerId
- the id of the container which was launchedpublic String getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
getResourcesOption
in interface LCEResourcesHandler
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.