|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.support.LifecycleObjectSupport org.springframework.yarn.am.container.AbstractLauncher org.springframework.yarn.am.container.DefaultContainerLauncher
public class DefaultContainerLauncher
Default container launcher.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.yarn.am.container.AbstractLauncher |
---|
AbstractLauncher.ContainerLauncherInterceptorList |
Constructor Summary | |
---|---|
DefaultContainerLauncher()
|
Method Summary | |
---|---|
protected void |
doStart()
Subclasses may implement this method with the start behavior. |
protected void |
doStop()
Subclasses may implement this method with the stop behavior. |
void |
launchContainer(org.apache.hadoop.yarn.api.records.Container container,
java.util.List<java.lang.String> commands)
Launch container Container using given list
of commands. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
Methods inherited from class org.springframework.yarn.am.container.AbstractLauncher |
---|
addInterceptor, getCmTemplate, getConfiguration, getEnvironment, getInterceptors, getResourceLocalizer, setConfiguration, setEnvironment, setInterceptors, setResourceLocalizer |
Methods inherited from class org.springframework.yarn.support.LifecycleObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultContainerLauncher()
Method Detail |
---|
protected void onInit() throws java.lang.Exception
LifecycleObjectSupport
InitializingBean
phase. Implementor should
always call super method not to break initialization chain.
onInit
in class AbstractLauncher
java.lang.Exception
protected void doStart()
LifecycleObjectSupport
LifecycleObjectSupport.lifecycleLock
.
doStart
in class LifecycleObjectSupport
protected void doStop()
LifecycleObjectSupport
LifecycleObjectSupport.lifecycleLock
.
doStop
in class LifecycleObjectSupport
public void launchContainer(org.apache.hadoop.yarn.api.records.Container container, java.util.List<java.lang.String> commands)
ContainerLauncher
Container
using given list
of commands.
launchContainer
in interface ContainerLauncher
container
- the Container
commands
- the list of commands
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |