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

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher
All Implemented Interfaces:
Runnable

public class AMLauncher
extends Object
implements Runnable

The launch of the AM itself.


Constructor Summary
AMLauncher(RMContext rmContext, RMAppAttempt application, AMLauncherEventType eventType, org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager, org.apache.hadoop.yarn.security.client.ClientToAMSecretManager clientToAMSecretManager, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
protected  org.apache.hadoop.yarn.api.ContainerManager getContainerMgrProxy(org.apache.hadoop.yarn.api.records.ContainerId containerId)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMLauncher

public AMLauncher(RMContext rmContext,
                  RMAppAttempt application,
                  AMLauncherEventType eventType,
                  org.apache.hadoop.yarn.security.ApplicationTokenSecretManager applicationTokenSecretManager,
                  org.apache.hadoop.yarn.security.client.ClientToAMSecretManager clientToAMSecretManager,
                  org.apache.hadoop.conf.Configuration conf)
Method Detail

getContainerMgrProxy

protected org.apache.hadoop.yarn.api.ContainerManager getContainerMgrProxy(org.apache.hadoop.yarn.api.records.ContainerId containerId)

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2012 Apache Software Foundation. All Rights Reserved.