public class MRAppMaster.RunningAppContext extends Object implements AppContext
Constructor and Description |
---|
MRAppMaster.RunningAppContext(Configuration config) |
Modifier and Type | Method and Description |
---|---|
void |
computeIsLastAMRetry() |
Map<JobId,Job> |
getAllJobs() |
ApplicationAttemptId |
getApplicationAttemptId() |
ApplicationId |
getApplicationID() |
String |
getApplicationName() |
Set<String> |
getBlacklistedNodes() |
ClientToAMTokenSecretManager |
getClientToAMTokenSecretManager() |
Clock |
getClock() |
ClusterInfo |
getClusterInfo() |
EventHandler |
getEventHandler() |
Job |
getJob(JobId jobID) |
long |
getStartTime() |
CharSequence |
getUser() |
boolean |
hasSuccessfullyUnregistered() |
boolean |
isLastAMRetry() |
void |
markSuccessfulUnregistration() |
public MRAppMaster.RunningAppContext(Configuration config)
public ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId
in interface AppContext
public ApplicationId getApplicationID()
getApplicationID
in interface AppContext
public String getApplicationName()
getApplicationName
in interface AppContext
public long getStartTime()
getStartTime
in interface AppContext
public Job getJob(JobId jobID)
getJob
in interface AppContext
public Map<JobId,Job> getAllJobs()
getAllJobs
in interface AppContext
public EventHandler getEventHandler()
getEventHandler
in interface AppContext
public CharSequence getUser()
getUser
in interface AppContext
public Clock getClock()
getClock
in interface AppContext
public ClusterInfo getClusterInfo()
getClusterInfo
in interface AppContext
public Set<String> getBlacklistedNodes()
getBlacklistedNodes
in interface AppContext
public ClientToAMTokenSecretManager getClientToAMTokenSecretManager()
getClientToAMTokenSecretManager
in interface AppContext
public boolean isLastAMRetry()
isLastAMRetry
in interface AppContext
public boolean hasSuccessfullyUnregistered()
hasSuccessfullyUnregistered
in interface AppContext
public void markSuccessfulUnregistration()
public void computeIsLastAMRetry()
Copyright © 2013 Apache Software Foundation. All rights reserved.