@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.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void init(LinuxContainerExecutor lce)
init
in interface LCEResourcesHandler
public void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource)
LCEResourcesHandler
preExecute
in interface LCEResourcesHandler
containerId
- 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)
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 © 2018 Apache Software Foundation. All Rights Reserved.