public class ApplicationMasterLauncher extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>
| Constructor and Description | 
|---|
| ApplicationMasterLauncher(RMContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Runnable | createRunnableLauncher(RMAppAttempt application,
                      AMLauncherEventType event) | 
| void | handle(AMLauncherEvent appEvent) | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected final RMContext context
public ApplicationMasterLauncher(RMContext context)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
                    throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected Runnable createRunnableLauncher(RMAppAttempt application, AMLauncherEventType event)
protected void serviceStop()
                    throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic void handle(AMLauncherEvent appEvent)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.