public abstract class AbstractServicesAppmaster extends AbstractAppmaster
AbstractAppmaster
which adds
a common container services needed for usual
application master.Constructor and Description |
---|
AbstractServicesAppmaster() |
Modifier and Type | Method and Description |
---|---|
ContainerAllocator |
getAllocator()
Gets a used
ContainerAllocator for this class. |
ContainerLauncher |
getLauncher()
Gets a used
ContainerLauncher for this class. |
ContainerMonitor |
getMonitor()
Gets a used
ContainerMonitor for this class. |
void |
setAllocator(ContainerAllocator allocator)
Sets the
ContainerAllocator used for this class. |
void |
setLauncher(ContainerLauncher launcher)
Sets the
ContainerLauncher used for this class. |
void |
setMonitor(ContainerMonitor monitor)
Sets the
ContainerMonitor used for this class. |
addAppmasterStateListener, doStop, finishAppmaster, getApplicationAttemptId, getAppmasterClientService, getAppmasterService, getAppmasterTrackService, getCmTemplate, getCommands, getCommands, getConfiguration, getContainerAssign, getContainerShutdown, getEnvironment, getEnvironment, getParameters, getResourceLocalizer, getTemplate, notifyCompleted, onInit, registerAppmaster, setCommands, setCommands, setCommands, setCommands, setConfiguration, setContainerAssign, setEnvironment, setEnvironment, setFinalApplicationStatus, setParameters, setResourceLocalizer, setTemplate, shutdownContainers
afterPropertiesSet, doStart, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
public ContainerAllocator getAllocator()
ContainerAllocator
for this class.ContainerAllocator
used in this classpublic void setAllocator(ContainerAllocator allocator)
ContainerAllocator
used for this class.
This should be called before onInit
for this class
is called.allocator
- the ContainerAllocator
public ContainerLauncher getLauncher()
ContainerLauncher
for this class.ContainerLauncher
used in this classpublic void setLauncher(ContainerLauncher launcher)
ContainerLauncher
used for this class.
This should be called before onInit
for this class
is called.launcher
- the ContainerLauncher
public ContainerMonitor getMonitor()
ContainerMonitor
for this class.ContainerMonitor
used in this classpublic void setMonitor(ContainerMonitor monitor)
ContainerMonitor
used for this class.
This should be called before onInit
for this class
is called.monitor
- the ContainerMonitor