public class TezContainerLauncherImpl extends DagContainerLauncher
| Modifier and Type | Field and Description |
|---|---|
protected BlockingQueue<ContainerOp> |
eventQueue |
protected static int |
INITIAL_POOL_SIZE |
protected ThreadPoolExecutor |
launcherPool |
| Constructor and Description |
|---|
TezContainerLauncherImpl(ContainerLauncherContext containerLauncherContext) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.tez.dag.app.launcher.TezContainerLauncherImpl.EventProcessor |
createEventProcessor(ContainerOp event) |
void |
dagComplete(TezDAGID dag,
JobTokenSecretManager jobTokenSecretManager) |
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 |
launchContainer(ContainerLaunchRequest launchRequest) |
void |
shutdown() |
void |
start() |
void |
stopContainer(ContainerStopRequest stopRequest) |
getContext, initializeprotected ThreadPoolExecutor launcherPool
protected static final int INITIAL_POOL_SIZE
protected BlockingQueue<ContainerOp> eventQueue
public TezContainerLauncherImpl(ContainerLauncherContext containerLauncherContext)
public void start()
throws TezException
start in interface ServicePluginLifecyclestart in class ContainerLauncherTezExceptionpublic void shutdown()
shutdown in interface ServicePluginLifecycleshutdown in class ContainerLauncherprotected org.apache.tez.dag.app.launcher.TezContainerLauncherImpl.EventProcessor createEventProcessor(ContainerOp 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 launchContainer(ContainerLaunchRequest launchRequest)
launchContainer in class ContainerLauncherpublic void stopContainer(ContainerStopRequest stopRequest)
stopContainer in class ContainerLauncherpublic void dagComplete(TezDAGID dag, JobTokenSecretManager jobTokenSecretManager)
dagComplete in class DagContainerLauncherCopyright © 2021 Apache Software Foundation. All rights reserved.