public class StaticAppmaster extends AbstractProcessingAppmaster implements YarnAppmaster
| Constructor and Description |
|---|
StaticAppmaster() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Subclasses may implement this method with the start behavior.
|
protected void |
onInit()
Global application master instance specific
ApplicationAttemptId
is build during this init method. |
void |
submitApplication()
Submit and run application.
|
onContainerAllocated, onContainerCompleted, preLaunchgetAllocator, getLauncher, getMonitor, setAllocator, setLauncher, setMonitoraddAppmasterStateListener, doStop, finishAppmaster, getApplicationAttemptId, getAppmasterClientService, getAppmasterService, getAppmasterTrackService, getCmTemplate, getCommands, getCommands, getConfiguration, getContainerAssign, getContainerShutdown, getEnvironment, getEnvironment, getParameters, getResourceLocalizer, getTemplate, notifyCompleted, registerAppmaster, setCommands, setCommands, setCommands, setCommands, setConfiguration, setContainerAssign, setEnvironment, setEnvironment, setFinalApplicationStatus, setParameters, setResourceLocalizer, setTemplate, shutdownContainersafterPropertiesSet, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAppmasterStateListener, setEnvironment, setParameterspublic void submitApplication()
YarnAppmastersubmitApplication in interface YarnAppmasterprotected void onInit()
throws java.lang.Exception
AbstractAppmasterApplicationAttemptId
is build during this init method.onInit in class AbstractProcessingAppmasterjava.lang.Exception - exceptionLifecycleObjectSupport.onInit()protected void doStart()
LifecycleObjectSupportLifecycleObjectSupport.lifecycleLock.doStart in class LifecycleObjectSupport