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.conf.Configuration conf)
           
 
Method Summary
protected  org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> getAMRMToken()
           
protected  org.apache.hadoop.yarn.api.ContainerManagementProtocol 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.conf.Configuration conf)
Method Detail

getContainerMgrProxy

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

getAMRMToken

protected org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> getAMRMToken()

run

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.