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, waitForServiceToStop
protected 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.AbstractService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
protected Runnable createRunnableLauncher(RMAppAttempt application, AMLauncherEventType event)
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.AbstractService
Exception
public void handle(AMLauncherEvent appEvent)
handle
in interface org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>
Copyright © 2017 Apache Software Foundation. All Rights Reserved.