Class NMLivelinessMonitor

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.NodeId>
org.apache.hadoop.yarn.server.resourcemanager.NMLivelinessMonitor
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service

public class NMLivelinessMonitor extends org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.NodeId>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service

    org.apache.hadoop.service.Service.STATE
  • Field Summary

    Fields inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor

    DEFAULT_EXPIRE
  • Constructor Summary

    Constructors
    Constructor
    Description
    NMLivelinessMonitor(org.apache.hadoop.yarn.event.Dispatcher d)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    expire(org.apache.hadoop.yarn.api.records.NodeId id)
     
    void
    serviceInit(org.apache.hadoop.conf.Configuration conf)
     

    Methods inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor

    getExpireInterval, receivedPing, register, register, resetTimer, serviceStart, serviceStop, setExpireInterval, setMonitorInterval, setResetTimeOnStart, unregister

    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, 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 Details

    • NMLivelinessMonitor

      public NMLivelinessMonitor(org.apache.hadoop.yarn.event.Dispatcher d)
  • Method Details

    • serviceInit

      public void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
      Overrides:
      serviceInit in class org.apache.hadoop.service.AbstractService
      Throws:
      Exception
    • expire

      protected void expire(org.apache.hadoop.yarn.api.records.NodeId id)
      Specified by:
      expire in class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.NodeId>