org.apache.hadoop.yarn.server.resourcemanager.amlauncher
Class ApplicationMasterLauncher

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.server.resourcemanager.amlauncher.ApplicationMasterLauncher
All Implemented Interfaces:
org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>, org.apache.hadoop.yarn.service.Service

public class ApplicationMasterLauncher
extends org.apache.hadoop.yarn.service.AbstractService
implements org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Field Summary
protected  org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager
           
protected  RMContext context
           
 
Constructor Summary
ApplicationMasterLauncher(org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager, org.apache.hadoop.yarn.security.client.ClientToAMSecretManager clientToAMSecretManager, RMContext context)
           
 
Method Summary
protected  Runnable createRunnableLauncher(RMAppAttempt application, AMLauncherEventType event)
           
 void handle(AMLauncherEvent appEvent)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, init, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationTokenSecretManager

protected org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager

context

protected final RMContext context
Constructor Detail

ApplicationMasterLauncher

public ApplicationMasterLauncher(org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager,
                                 org.apache.hadoop.yarn.security.client.ClientToAMSecretManager clientToAMSecretManager,
                                 RMContext context)
Method Detail

start

public void start()
Specified by:
start in interface org.apache.hadoop.yarn.service.Service
Overrides:
start in class org.apache.hadoop.yarn.service.AbstractService

createRunnableLauncher

protected Runnable createRunnableLauncher(RMAppAttempt application,
                                          AMLauncherEventType event)

stop

public void stop()
Specified by:
stop in interface org.apache.hadoop.yarn.service.Service
Overrides:
stop in class org.apache.hadoop.yarn.service.AbstractService

handle

public void handle(AMLauncherEvent appEvent)
Specified by:
handle in interface org.apache.hadoop.yarn.event.EventHandler<AMLauncherEvent>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.