org.apache.hadoop.yarn.server.nodemanager
Class NodeStatusUpdaterImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl
All Implemented Interfaces:
NodeStatusUpdater, org.apache.hadoop.yarn.service.Service

public class NodeStatusUpdaterImpl
extends org.apache.hadoop.yarn.service.AbstractService
implements NodeStatusUpdater


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
NodeStatusUpdaterImpl(Context context, org.apache.hadoop.yarn.event.Dispatcher dispatcher, NodeHealthCheckerService healthChecker, NodeManagerMetrics metrics)
           
 
Method Summary
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()
           
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.yarn.service.Service
getConfig, getName, getServiceState, getStartTime, register, unregister
 

Constructor Detail

NodeStatusUpdaterImpl

public NodeStatusUpdaterImpl(Context context,
                             org.apache.hadoop.yarn.event.Dispatcher dispatcher,
                             NodeHealthCheckerService healthChecker,
                             NodeManagerMetrics metrics)
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration conf)
Specified by:
init in interface org.apache.hadoop.yarn.service.Service
Overrides:
init in class org.apache.hadoop.yarn.service.AbstractService

start

public void start()
Specified by:
start in interface org.apache.hadoop.yarn.service.Service
Overrides:
start in class org.apache.hadoop.yarn.service.AbstractService

stop

public void stop()
Specified by:
stop in interface org.apache.hadoop.yarn.service.Service
Overrides:
stop in class org.apache.hadoop.yarn.service.AbstractService

isTokenKeepAliveEnabled

@InterfaceAudience.Private
protected boolean isTokenKeepAliveEnabled(org.apache.hadoop.conf.Configuration conf)

getRMClient

protected org.apache.hadoop.yarn.server.api.ResourceTracker getRMClient()

sendOutofBandHeartBeat

public void sendOutofBandHeartBeat()
Specified by:
sendOutofBandHeartBeat in interface NodeStatusUpdater

startStatusUpdater

protected void startStatusUpdater()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.