org.apache.hadoop.mapreduce.v2.app
Class MRAppMaster.RunningAppContext

java.lang.Object
  extended by org.apache.hadoop.mapreduce.v2.app.MRAppMaster.RunningAppContext
All Implemented Interfaces:
AppContext
Enclosing class:
MRAppMaster

public class MRAppMaster.RunningAppContext
extends Object
implements AppContext


Constructor Summary
MRAppMaster.RunningAppContext(org.apache.hadoop.conf.Configuration config)
           
 
Method Summary
 void computeIsLastAMRetry()
           
 Map<org.apache.hadoop.mapreduce.v2.api.records.JobId,Job> getAllJobs()
           
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()
           
 String getApplicationName()
           
 Set<String> getBlacklistedNodes()
           
 org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager getClientToAMTokenSecretManager()
           
 org.apache.hadoop.yarn.util.Clock getClock()
           
 ClusterInfo getClusterInfo()
           
 org.apache.hadoop.yarn.event.EventHandler getEventHandler()
           
 Job getJob(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID)
           
 long getStartTime()
           
 CharSequence getUser()
           
 boolean hasSuccessfullyUnregistered()
           
 boolean isLastAMRetry()
           
 void markSuccessfulUnregistration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRAppMaster.RunningAppContext

public MRAppMaster.RunningAppContext(org.apache.hadoop.conf.Configuration config)
Method Detail

getApplicationAttemptId

public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
Specified by:
getApplicationAttemptId in interface AppContext

getApplicationID

public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()
Specified by:
getApplicationID in interface AppContext

getApplicationName

public String getApplicationName()
Specified by:
getApplicationName in interface AppContext

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface AppContext

getJob

public Job getJob(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID)
Specified by:
getJob in interface AppContext

getAllJobs

public Map<org.apache.hadoop.mapreduce.v2.api.records.JobId,Job> getAllJobs()
Specified by:
getAllJobs in interface AppContext

getEventHandler

public org.apache.hadoop.yarn.event.EventHandler getEventHandler()
Specified by:
getEventHandler in interface AppContext

getUser

public CharSequence getUser()
Specified by:
getUser in interface AppContext

getClock

public org.apache.hadoop.yarn.util.Clock getClock()
Specified by:
getClock in interface AppContext

getClusterInfo

public ClusterInfo getClusterInfo()
Specified by:
getClusterInfo in interface AppContext

getBlacklistedNodes

public Set<String> getBlacklistedNodes()
Specified by:
getBlacklistedNodes in interface AppContext

getClientToAMTokenSecretManager

public org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager getClientToAMTokenSecretManager()
Specified by:
getClientToAMTokenSecretManager in interface AppContext

isLastAMRetry

public boolean isLastAMRetry()
Specified by:
isLastAMRetry in interface AppContext

hasSuccessfullyUnregistered

public boolean hasSuccessfullyUnregistered()
Specified by:
hasSuccessfullyUnregistered in interface AppContext

markSuccessfulUnregistration

public void markSuccessfulUnregistration()

computeIsLastAMRetry

public void computeIsLastAMRetry()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.