public class AMNodeTracker extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<AMNodeEvent>
| Constructor and Description |
|---|
AMNodeTracker(org.apache.hadoop.yarn.event.EventHandler eventHandler,
AppContext appContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeIgnoreBlacklisting() |
AMNode |
get(org.apache.hadoop.yarn.api.records.NodeId nodeId) |
int |
getNumNodes() |
void |
handle(AMNodeEvent rEvent) |
boolean |
isBlacklistingIgnored() |
void |
nodeSeen(org.apache.hadoop.yarn.api.records.NodeId nodeId) |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic AMNodeTracker(org.apache.hadoop.yarn.event.EventHandler eventHandler,
AppContext appContext)
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
serviceInit in class org.apache.hadoop.service.AbstractServicepublic void nodeSeen(org.apache.hadoop.yarn.api.records.NodeId nodeId)
public void handle(AMNodeEvent rEvent)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMNodeEvent>protected void computeIgnoreBlacklisting()
public AMNode get(org.apache.hadoop.yarn.api.records.NodeId nodeId)
public int getNumNodes()
@InterfaceAudience.Private public boolean isBlacklistingIgnored()
Copyright © 2015 Apache Software Foundation. All rights reserved.