public class ContainerHeartbeatHandler extends HeartbeatHandlerBase<org.apache.hadoop.yarn.api.records.ContainerId>
HeartbeatHandlerBase.ReportTimeappContext, clock, eventHandler, timeOut, timeOutCheckerThread, timeOutCheckInterval| Constructor and Description |
|---|
ContainerHeartbeatHandler(AppContext context,
int expectedConcurrency) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getConfiguredTimeout(org.apache.hadoop.conf.Configuration conf) |
protected int |
getConfiguredTimeoutCheckInterval(org.apache.hadoop.conf.Configuration conf) |
protected void |
handleTimeOut(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
protected boolean |
hasTimedOut(HeartbeatHandlerBase.ReportTime report,
long currentTime) |
createPingChecker, pinged, progressing, register, serviceInit, serviceStart, serviceStop, unregisterclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic ContainerHeartbeatHandler(AppContext context, int expectedConcurrency)
protected int getConfiguredTimeout(org.apache.hadoop.conf.Configuration conf)
getConfiguredTimeout in class HeartbeatHandlerBase<org.apache.hadoop.yarn.api.records.ContainerId>protected int getConfiguredTimeoutCheckInterval(org.apache.hadoop.conf.Configuration conf)
getConfiguredTimeoutCheckInterval in class HeartbeatHandlerBase<org.apache.hadoop.yarn.api.records.ContainerId>protected boolean hasTimedOut(HeartbeatHandlerBase.ReportTime report, long currentTime)
hasTimedOut in class HeartbeatHandlerBase<org.apache.hadoop.yarn.api.records.ContainerId>protected void handleTimeOut(org.apache.hadoop.yarn.api.records.ContainerId containerId)
handleTimeOut in class HeartbeatHandlerBase<org.apache.hadoop.yarn.api.records.ContainerId>Copyright © 2015 Apache Software Foundation. All rights reserved.