public class LocalContainerLauncher extends org.apache.hadoop.service.AbstractService implements ContainerLauncher
| Constructor and Description |
|---|
LocalContainerLauncher(AppContext context,
TaskAttemptListener taskAttemptListener,
String workingDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(NMCommunicatorEvent event) |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
void |
serviceStart() |
void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic LocalContainerLauncher(AppContext context, TaskAttemptListener taskAttemptListener, String workingDirectory) throws UnknownHostException
UnknownHostExceptionpublic void serviceInit(org.apache.hadoop.conf.Configuration conf)
serviceInit in class org.apache.hadoop.service.AbstractServicepublic void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionpublic void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic void handle(NMCommunicatorEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<NMCommunicatorEvent>Copyright © 2014 Apache Software Foundation. All rights reserved.