public class ContainerLauncherManager extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<ContainerLauncherEvent>
| Modifier and Type | Field and Description |
|---|---|
protected ServicePluginLifecycleAbstractService[] |
containerLauncherServiceWrappers |
| Constructor and Description |
|---|
ContainerLauncherManager(AppContext context) |
ContainerLauncherManager(AppContext context,
TaskCommunicatorManagerInterface taskCommunicatorManagerInterface,
String workingDirectory,
List<org.apache.tez.dag.api.NamedEntityDescriptor> containerLauncherDescriptors,
boolean isLocalMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
dagComplete(DAG dag) |
void |
dagSubmitted() |
void |
handle(ContainerLauncherEvent event) |
void |
reportError(int containerLauncherIndex,
org.apache.tez.serviceplugins.api.ServicePluginError servicePluginError,
String diagnostics,
org.apache.tez.serviceplugins.api.DagInfo dagInfo) |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
void |
serviceStart() |
void |
serviceStop() |
void |
setContainerLauncher(org.apache.tez.serviceplugins.api.ContainerLauncher containerLauncher) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected final ServicePluginLifecycleAbstractService[] containerLauncherServiceWrappers
public ContainerLauncherManager(AppContext context, TaskCommunicatorManagerInterface taskCommunicatorManagerInterface, String workingDirectory, List<org.apache.tez.dag.api.NamedEntityDescriptor> containerLauncherDescriptors, boolean isLocalMode) throws org.apache.tez.dag.api.TezException
org.apache.tez.dag.api.TezExceptionpublic ContainerLauncherManager(AppContext context)
public void setContainerLauncher(org.apache.tez.serviceplugins.api.ContainerLauncher containerLauncher)
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
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.AbstractServicepublic void dagComplete(DAG dag)
public void dagSubmitted()
public void handle(ContainerLauncherEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<ContainerLauncherEvent>public void reportError(int containerLauncherIndex,
org.apache.tez.serviceplugins.api.ServicePluginError servicePluginError,
String diagnostics,
org.apache.tez.serviceplugins.api.DagInfo dagInfo)
Copyright © 2016 Apache Software Foundation. All rights reserved.