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 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 unhealthyCopyright © 2008–2018 Apache Software Foundation. All rights reserved.