java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>public class ApplicationMasterLauncher extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>
| Constructor | Description |
|---|---|
ApplicationMasterLauncher(RMContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.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 java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionprotected java.lang.Runnable createRunnableLauncher(RMAppAttempt application, AMLauncherEventType event)
protected void serviceStop()
throws java.lang.Exception
serviceStop in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic void handle(AMLauncherEvent appEvent)
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.