public class ContainerLauncherImpl extends AbstractService implements ContainerLauncher
ContainerLauncher.EventTypeService.STATE| Modifier and Type | Field and Description |
|---|---|
protected BlockingQueue<ContainerLauncherEvent> |
eventQueue |
protected int |
initialPoolSize |
protected ThreadPoolExecutor |
launcherPool |
| Constructor and Description |
|---|
ContainerLauncherImpl(AppContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.EventProcessor |
createEventProcessor(ContainerLauncherEvent event) |
org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData |
getCMProxy(String containerMgrBindAddr,
org.apache.hadoop.yarn.api.records.ContainerId containerId) |
void |
handle(ContainerLauncherEvent event) |
protected void |
serviceInit(Configuration conf) |
protected void |
serviceStart() |
protected 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 int initialPoolSize
protected BlockingQueue<ContainerLauncherEvent> eventQueue
public ContainerLauncherImpl(AppContext context)
protected void serviceInit(Configuration conf) throws Exception
serviceInit in class AbstractServiceExceptionprotected void serviceStart()
throws Exception
serviceStart in class AbstractServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class AbstractServiceExceptionprotected org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.EventProcessor createEventProcessor(ContainerLauncherEvent event)
public void handle(ContainerLauncherEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<ContainerLauncherEvent>public org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData getCMProxy(String containerMgrBindAddr, org.apache.hadoop.yarn.api.records.ContainerId containerId) throws IOException
IOExceptionCopyright © 2018 CERN. All Rights Reserved.