|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.tez.dag.app.rm.node.AMNodeMap
public class AMNodeMap
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Constructor Summary | |
|---|---|
AMNodeMap(org.apache.hadoop.yarn.event.EventHandler eventHandler,
AppContext appContext)
|
|
| Method Summary | |
|---|---|
protected void |
computeIgnoreBlacklisting()
|
AMNode |
get(org.apache.hadoop.yarn.api.records.NodeId nodeId)
|
void |
handle(AMNodeEvent rEvent)
|
boolean |
isBlacklistingIgnored()
|
boolean |
isHostBlackListed(String hostname)
|
void |
nodeSeen(org.apache.hadoop.yarn.api.records.NodeId nodeId)
|
void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
int |
size()
|
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AMNodeMap(org.apache.hadoop.yarn.event.EventHandler eventHandler,
AppContext appContext)
| Method Detail |
|---|
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 boolean isHostBlackListed(String hostname)
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 size()
@InterfaceAudience.Private public boolean isBlacklistingIgnored()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||