public class RMAppLifetimeMonitor extends org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<RMAppToMonitor>
Constructor and Description |
---|
RMAppLifetimeMonitor(RMContext rmContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
expire(RMAppToMonitor monitoredAppKey) |
void |
registerApp(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.ApplicationTimeoutType timeoutType,
long expireTime) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
void |
unregisterApp(org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.yarn.api.records.ApplicationTimeoutType timeoutType) |
void |
unregisterApp(org.apache.hadoop.yarn.api.records.ApplicationId appId,
Set<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType> timeoutTypes) |
void |
updateApplicationTimeouts(org.apache.hadoop.yarn.api.records.ApplicationId appId,
Map<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType,Long> timeouts) |
getExpireInterval, receivedPing, register, register, resetTimer, serviceStart, serviceStop, setExpireInterval, setMonitorInterval, setResetTimeOnStart, unregister
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public RMAppLifetimeMonitor(RMContext rmContext)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.AbstractService
Exception
protected void expire(RMAppToMonitor monitoredAppKey)
expire
in class org.apache.hadoop.yarn.util.AbstractLivelinessMonitor<RMAppToMonitor>
public void registerApp(org.apache.hadoop.yarn.api.records.ApplicationId appId, org.apache.hadoop.yarn.api.records.ApplicationTimeoutType timeoutType, long expireTime)
public void unregisterApp(org.apache.hadoop.yarn.api.records.ApplicationId appId, org.apache.hadoop.yarn.api.records.ApplicationTimeoutType timeoutType)
public void unregisterApp(org.apache.hadoop.yarn.api.records.ApplicationId appId, Set<org.apache.hadoop.yarn.api.records.ApplicationTimeoutType> timeoutTypes)
Copyright © 2022 Apache Software Foundation. All rights reserved.