java.io.Closeable, java.lang.AutoCloseable, ContainerLauncher, org.apache.hadoop.service.Service, org.apache.hadoop.yarn.event.EventHandler<ContainerLauncherEvent>public class ContainerLauncherImpl extends org.apache.hadoop.service.AbstractService implements ContainerLauncher
ContainerLauncher.EventType| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.concurrent.BlockingQueue<ContainerLauncherEvent> |
eventQueue |
|
protected int |
initialPoolSize |
|
protected java.util.concurrent.ThreadPoolExecutor |
launcherPool |
| Constructor | Description |
|---|---|
ContainerLauncherImpl(AppContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl.EventProcessor |
createEventProcessor(ContainerLauncherEvent event) |
|
org.apache.hadoop.yarn.client.api.impl.ContainerManagementProtocolProxy.ContainerManagementProtocolProxyData |
getCMProxy(java.lang.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 java.util.concurrent.ThreadPoolExecutor launcherPool
protected int initialPoolSize
protected java.util.concurrent.BlockingQueue<ContainerLauncherEvent> eventQueue
public ContainerLauncherImpl(AppContext context)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected 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(java.lang.String containerMgrBindAddr,
org.apache.hadoop.yarn.api.records.ContainerId containerId)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.