public class ContainerLauncherImpl extends org.apache.hadoop.service.AbstractService implements ContainerLauncher
ContainerLauncher.EventType| 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(org.apache.hadoop.conf.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(org.apache.hadoop.conf.Configuration conf)
                    throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
                    throws Exception
serviceStop in class org.apache.hadoop.service.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 © 2008–2023 Apache Software Foundation. All rights reserved.