public interface NodeStatusUpdater
extends org.apache.hadoop.service.Service
| Modifier and Type | Method and 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(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(Exception ex)
ex - exception that makes the node unhealthyvoid setNodeAttributesProvider(NodeAttributesProvider provider)
provider - void setNodeLabelsProvider(NodeLabelsProvider provider)
provider - Copyright © 2008–2023 Apache Software Foundation. All rights reserved.