|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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
LifecycleObjectSupportInitializingBean phase. Implementor should
always call super method not to break initialization chain.
onInit in class AbstractLauncherjava.lang.Exception - exceptionprotected void doStart()
LifecycleObjectSupportLifecycleObjectSupport.lifecycleLock.
doStart in class LifecycleObjectSupportprotected void doStop()
LifecycleObjectSupportLifecycleObjectSupport.lifecycleLock.
doStop in class LifecycleObjectSupport
public void launchContainer(org.apache.hadoop.yarn.api.records.Container container,
java.util.List<java.lang.String> commands)
ContainerLauncherContainer using given list
of commands.
launchContainer in interface ContainerLaunchercontainer - the Containercommands - the list of commands
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||