public class ContainerLauncherImpl extends org.apache.hadoop.service.AbstractService implements ContainerLauncher
| Modifier and Type | Field and Description |
|---|---|
protected BlockingQueue<NMCommunicatorEvent> |
eventQueue |
protected static int |
INITIAL_POOL_SIZE |
protected ThreadPoolExecutor |
launcherPool |
| Constructor and Description |
|---|
ContainerLauncherImpl(AppContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tez.dag.app.launcher.ContainerLauncherImpl.EventProcessor |
createEventProcessor(NMCommunicatorEvent event) |
void |
dagComplete(DAG dag) |
void |
dagSubmitted() |
protected org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData |
getCMProxy(org.apache.hadoop.yarn.api.records.ContainerId containerID,
String containerManagerBindAddr,
org.apache.hadoop.yarn.api.records.Token containerToken) |
void |
handle(NMCommunicatorEvent event) |
void |
serviceInit(org.apache.hadoop.conf.Configuration config) |
void |
serviceStart() |
void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected ThreadPoolExecutor launcherPool
protected static final int INITIAL_POOL_SIZE
protected BlockingQueue<NMCommunicatorEvent> eventQueue
public ContainerLauncherImpl(AppContext context)
public void dagComplete(DAG dag)
dagComplete in interface ContainerLauncherpublic void dagSubmitted()
dagSubmitted in interface ContainerLauncherpublic void serviceInit(org.apache.hadoop.conf.Configuration config)
serviceInit in class org.apache.hadoop.service.AbstractServicepublic void serviceStart()
serviceStart in class org.apache.hadoop.service.AbstractServicepublic void serviceStop()
serviceStop in class org.apache.hadoop.service.AbstractServiceprotected org.apache.tez.dag.app.launcher.ContainerLauncherImpl.EventProcessor createEventProcessor(NMCommunicatorEvent event)
protected org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData getCMProxy(org.apache.hadoop.yarn.api.records.ContainerId containerID,
String containerManagerBindAddr,
org.apache.hadoop.yarn.api.records.Token containerToken)
throws IOException
IOExceptionpublic void handle(NMCommunicatorEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<NMCommunicatorEvent>Copyright © 2015 Apache Software Foundation. All rights reserved.