org.apache.hadoop.mapreduce.v2.app
Class MRAppMaster.RunningAppContext
java.lang.Object
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.RunningAppContext
- All Implemented Interfaces:
- AppContext
- Enclosing class:
- MRAppMaster
public class MRAppMaster.RunningAppContext
- extends Object
- implements AppContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRAppMaster.RunningAppContext
public MRAppMaster.RunningAppContext(org.apache.hadoop.conf.Configuration config)
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.