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