public class LocalContainerLauncher extends DagContainerLauncher
| Constructor and Description |
|---|
LocalContainerLauncher(ContainerLauncherContext containerLauncherContext,
AppContext context,
TaskCommunicatorManagerInterface taskCommunicatorManagerInterface,
String workingDirectory,
boolean isLocalMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
dagComplete(TezDAGID dag,
JobTokenSecretManager jobTokenSecretManager) |
void |
launchContainer(ContainerLaunchRequest launchRequest) |
void |
shutdown() |
void |
start() |
void |
stopContainer(ContainerStopRequest stopRequest) |
getContext, initializepublic LocalContainerLauncher(ContainerLauncherContext containerLauncherContext, AppContext context, TaskCommunicatorManagerInterface taskCommunicatorManagerInterface, String workingDirectory, boolean isLocalMode) throws UnknownHostException, TezException
UnknownHostExceptionTezExceptionpublic void start()
throws Exception
start in interface ServicePluginLifecyclestart in class ContainerLauncherExceptionpublic void shutdown()
throws Exception
shutdown in interface ServicePluginLifecycleshutdown in class ContainerLauncherExceptionpublic 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.