Class DefaultLCEResourcesHandler
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.util.DefaultLCEResourcesHandler
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,LCEResourcesHandler
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.conf.ConfigurationgetConf()Deprecated.getResourcesOption(org.apache.hadoop.yarn.api.records.ContainerId containerId) Deprecated.voidDeprecated.voidpostExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId) Deprecated.Called by the LinuxContainerExecutor after the executable inside the container has exited (successfully or not).voidpreExecute(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.voidsetConf(org.apache.hadoop.conf.Configuration conf) Deprecated.
-
Constructor Details
-
DefaultLCEResourcesHandler
public DefaultLCEResourcesHandler()Deprecated.
-
-
Method Details
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf) Deprecated.- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
getConf
public org.apache.hadoop.conf.Configuration getConf()Deprecated.- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
init
Deprecated.- Specified by:
initin interfaceLCEResourcesHandler
-
preExecute
public void preExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource containerResource) Deprecated.Description copied from interface:LCEResourcesHandlerCalled by the LinuxContainerExecutor before launching the executable inside the container.- Specified by:
preExecutein interfaceLCEResourcesHandler- Parameters:
containerId- the id of the container being launchedcontainerResource- the node resources the container will be using
-
postExecute
public void postExecute(org.apache.hadoop.yarn.api.records.ContainerId containerId) Deprecated.Description copied from interface:LCEResourcesHandlerCalled by the LinuxContainerExecutor after the executable inside the container has exited (successfully or not).- Specified by:
postExecutein interfaceLCEResourcesHandler- Parameters:
containerId- the id of the container which was launched
-
getResourcesOption
Deprecated.- Specified by:
getResourcesOptionin interfaceLCEResourcesHandler
-