public class NodeStatusUpdaterImpl extends org.apache.hadoop.yarn.service.AbstractService implements NodeStatusUpdater
| Constructor and Description |
|---|
NodeStatusUpdaterImpl(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
NodeManagerMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.yarn.server.api.ResourceTracker |
getRMClient() |
void |
init(org.apache.hadoop.conf.Configuration conf) |
protected boolean |
isTokenKeepAliveEnabled(org.apache.hadoop.conf.Configuration conf) |
void |
sendOutofBandHeartBeat() |
void |
start() |
protected void |
startStatusUpdater() |
void |
stop() |
getConfig, getName, getServiceState, getStartTime, register, unregisterpublic NodeStatusUpdaterImpl(Context context, org.apache.hadoop.yarn.event.Dispatcher dispatcher, NodeHealthCheckerService healthChecker, NodeManagerMetrics metrics)
public void init(org.apache.hadoop.conf.Configuration conf)
init in interface org.apache.hadoop.yarn.service.Serviceinit in class org.apache.hadoop.yarn.service.AbstractServicepublic void start()
start in interface org.apache.hadoop.yarn.service.Servicestart in class org.apache.hadoop.yarn.service.AbstractServicepublic void stop()
stop in interface org.apache.hadoop.yarn.service.Servicestop in class org.apache.hadoop.yarn.service.AbstractService@InterfaceAudience.Private protected boolean isTokenKeepAliveEnabled(org.apache.hadoop.conf.Configuration conf)
protected org.apache.hadoop.yarn.server.api.ResourceTracker getRMClient()
public void sendOutofBandHeartBeat()
sendOutofBandHeartBeat in interface NodeStatusUpdaterprotected void startStatusUpdater()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.