java.lang.AutoCloseable, java.io.Closeable, org.apache.hadoop.service.ServiceNodeStatusUpdaterImplpublic interface NodeStatusUpdater
extends org.apache.hadoop.service.Service
| Modifier and Type | Method | Description |
|---|---|---|
void |
addCompletedContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Add a container to the list of containers that have recently completed
|
void |
clearFinishedContainersFromCache() |
Clear the list of recently completed containers
|
long |
getRMIdentifier() |
Get the ResourceManager identifier received during registration
|
boolean |
isContainerRecentlyStopped(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Query if a container has recently completed
|
void |
reportException(java.lang.Exception ex) |
Report an unrecoverable exception.
|
void |
sendOutofBandHeartBeat() |
Schedule a heartbeat to the ResourceManager outside of the normal,
periodic heartbeating process.
|
void |
setNodeAttributesProvider(NodeAttributesProvider provider) |
Sets a node attributes provider to node manager.
|
void |
setNodeLabelsProvider(NodeLabelsProvider provider) |
Sets a node labels provider to the node manager.
|
void sendOutofBandHeartBeat()
long getRMIdentifier()
boolean isContainerRecentlyStopped(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerId - the container IDvoid addCompletedContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)
containerId - the ID of the completed containervoid clearFinishedContainersFromCache()
void reportException(java.lang.Exception ex)
ex - exception that makes the node unhealthyvoid setNodeAttributesProvider(NodeAttributesProvider provider)
provider - void setNodeLabelsProvider(NodeLabelsProvider provider)
provider - Copyright © 2008–2025 Apache Software Foundation. All rights reserved.