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

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.service.CompositeService
          extended by org.apache.hadoop.yarn.server.nodemanager.NodeHealthCheckerService
All Implemented Interfaces:
org.apache.hadoop.yarn.service.Service

public class NodeHealthCheckerService
extends org.apache.hadoop.yarn.service.CompositeService

The class which provides functionality of checking the health of the node and reporting back to the service for which the health checker has been asked to report.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.service.CompositeService
org.apache.hadoop.yarn.service.CompositeService.CompositeServiceShutdownHook
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
NodeHealthCheckerService()
           
 
Method Summary
 LocalDirsHandlerService getDiskHandler()
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.yarn.service.CompositeService
addService, getServices, removeService, start, 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
 

Constructor Detail

NodeHealthCheckerService

public NodeHealthCheckerService()
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.CompositeService

getDiskHandler

public LocalDirsHandlerService getDiskHandler()
Returns:
the disk handler


Copyright © 2013 Apache Software Foundation. All Rights Reserved.