public class AMContainerMap extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<AMContainerEvent>
| Constructor and Description |
|---|
AMContainerMap(ContainerHeartbeatHandler chh,
TaskCommunicatorManagerInterface tal,
org.apache.tez.common.ContainerSignatureMatcher containerSignatureMatcher,
AppContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addContainerIfNew(org.apache.hadoop.yarn.api.records.Container container,
int schedulerId,
int launcherId,
int taskCommId) |
void |
dagComplete(DAG dag) |
AMContainer |
get(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
void |
handle(AMContainerEvent event) |
Collection<AMContainer> |
values() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic AMContainerMap(ContainerHeartbeatHandler chh, TaskCommunicatorManagerInterface tal, org.apache.tez.common.ContainerSignatureMatcher containerSignatureMatcher, AppContext context)
public void handle(AMContainerEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMContainerEvent>public boolean addContainerIfNew(org.apache.hadoop.yarn.api.records.Container container,
int schedulerId,
int launcherId,
int taskCommId)
public AMContainer get(org.apache.hadoop.yarn.api.records.ContainerId containerId)
public Collection<AMContainer> values()
public void dagComplete(DAG dag)
Copyright © 2019 Apache Software Foundation. All rights reserved.