ResourceHandlerpublic class NumaResourceHandlerImpl extends java.lang.Object implements ResourceHandler
| Constructor | Description |
|---|---|
NumaResourceHandlerImpl(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<PrivilegedOperation> |
bootstrap(org.apache.hadoop.conf.Configuration configuration) |
Bootstrap resource susbsystem.
|
java.util.List<PrivilegedOperation> |
postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Perform any tasks necessary after container completion.
|
java.util.List<PrivilegedOperation> |
preStart(Container container) |
Prepare a resource environment for container launch
|
java.util.List<PrivilegedOperation> |
reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Require state for container that was already launched
|
java.util.List<PrivilegedOperation> |
teardown() |
Teardown environment for resource subsystem if requested.
|
java.lang.String |
toString() |
|
java.util.List<PrivilegedOperation> |
updateContainer(Container container) |
Update state for container that was already launched
|
public NumaResourceHandlerImpl(org.apache.hadoop.conf.Configuration conf,
Context nmContext)
public java.util.List<PrivilegedOperation> bootstrap(org.apache.hadoop.conf.Configuration configuration) throws ResourceHandlerException
ResourceHandlerbootstrap in interface ResourceHandlerResourceHandlerExceptionpublic java.util.List<PrivilegedOperation> preStart(Container container) throws ResourceHandlerException
ResourceHandlerpreStart in interface ResourceHandlercontainer - Container being launchedResourceHandlerExceptionpublic java.util.List<PrivilegedOperation> reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) throws ResourceHandlerException
ResourceHandlerreacquireContainer in interface ResourceHandlercontainerId - id of the container being reacquired.ResourceHandlerExceptionpublic java.util.List<PrivilegedOperation> updateContainer(Container container) throws ResourceHandlerException
ResourceHandlerupdateContainer in interface ResourceHandlercontainer - the container being updated.ResourceHandlerExceptionpublic java.util.List<PrivilegedOperation> postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) throws ResourceHandlerException
ResourceHandlerpostComplete in interface ResourceHandlercontainerId - of the container that was completed.ResourceHandlerExceptionpublic java.util.List<PrivilegedOperation> teardown() throws ResourceHandlerException
ResourceHandlerteardown in interface ResourceHandlerResourceHandlerExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.