Interface AppContext
- All Known Implementing Classes:
MRAppMaster.RunningAppContext
@Private
public interface AppContext
Context interface for sharing information across components in YARN App.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationAttemptIdorg.apache.hadoop.yarn.api.records.ApplicationIdorg.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManagerorg.apache.hadoop.yarn.util.ClockgetClock()org.apache.hadoop.yarn.event.EventHandler<org.apache.hadoop.yarn.event.Event>getJob(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID) longgetUser()booleanbooleanvoidsetHistoryUrl(String historyUrl)
-
Method Details
-
getApplicationID
org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID() -
getApplicationAttemptId
org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId() -
getApplicationName
String getApplicationName() -
getStartTime
long getStartTime() -
getUser
CharSequence getUser() -
getJob
-
getAllJobs
-
getEventHandler
org.apache.hadoop.yarn.event.EventHandler<org.apache.hadoop.yarn.event.Event> getEventHandler() -
getClock
org.apache.hadoop.yarn.util.Clock getClock() -
getClusterInfo
ClusterInfo getClusterInfo() -
getBlacklistedNodes
-
getClientToAMTokenSecretManager
org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager getClientToAMTokenSecretManager() -
isLastAMRetry
boolean isLastAMRetry() -
hasSuccessfullyUnregistered
boolean hasSuccessfullyUnregistered() -
getNMHostname
String getNMHostname() -
getTaskAttemptFinishingMonitor
TaskAttemptFinishingMonitor getTaskAttemptFinishingMonitor() -
getHistoryUrl
String getHistoryUrl() -
setHistoryUrl
-