@Deprecated public interface LCEResourcesHandler extends org.apache.hadoop.conf.Configurable
Modifier and Type | Method and Description |
---|---|
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 IOException
IOException
void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource) throws IOException
containerId
- the id of the container being launchedcontainerResource
- the node resources the container will be usingIOException
void postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerId
- the id of the container which was launchedString getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.