org.apache.hadoop.yarn.server.resourcemanager
Class NMLivelinessMonitor
java.lang.Object
org.apache.hadoop.yarn.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:
- org.apache.hadoop.yarn.service.Service
public class NMLivelinessMonitor
- extends org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<org.apache.hadoop.yarn.api.records.NodeId>
| Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service |
org.apache.hadoop.yarn.service.Service.STATE |
| Fields inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor |
DEFAULT_EXPIRE |
|
Method Summary |
protected void |
expire(org.apache.hadoop.yarn.api.records.NodeId id)
|
void |
init(org.apache.hadoop.conf.Configuration conf)
|
| Methods inherited from class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor |
receivedPing, register, setExpireInterval, setMonitorInterval, start, stop, unregister |
| 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 |
NMLivelinessMonitor
public NMLivelinessMonitor(org.apache.hadoop.yarn.event.Dispatcher d)
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
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>
Copyright © 2012 Apache Software Foundation. All Rights Reserved.