Class MRAppMaster.RunningAppContext
java.lang.Object
org.apache.hadoop.mapreduce.v2.app.MRAppMaster.RunningAppContext
- All Implemented Interfaces:
AppContext
- Enclosing class:
- MRAppMaster
-
Constructor Summary
ConstructorsConstructorDescriptionRunningAppContext(org.apache.hadoop.conf.Configuration config, TaskAttemptFinishingMonitor taskAttemptFinishingMonitor) -
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) longorg.apache.hadoop.yarn.client.api.TimelineClientorg.apache.hadoop.yarn.client.api.TimelineV2ClientgetUser()booleanbooleanvoidvoidvoidsetHistoryUrl(String historyUrl)
-
Constructor Details
-
RunningAppContext
public RunningAppContext(org.apache.hadoop.conf.Configuration config, TaskAttemptFinishingMonitor taskAttemptFinishingMonitor)
-
-
Method Details
-
getApplicationAttemptId
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()- Specified by:
getApplicationAttemptIdin interfaceAppContext
-
getApplicationID
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()- Specified by:
getApplicationIDin interfaceAppContext
-
getApplicationName
- Specified by:
getApplicationNamein interfaceAppContext
-
getStartTime
public long getStartTime()- Specified by:
getStartTimein interfaceAppContext
-
getJob
- Specified by:
getJobin interfaceAppContext
-
getAllJobs
- Specified by:
getAllJobsin interfaceAppContext
-
getEventHandler
public org.apache.hadoop.yarn.event.EventHandler<org.apache.hadoop.yarn.event.Event> getEventHandler()- Specified by:
getEventHandlerin interfaceAppContext
-
getUser
- Specified by:
getUserin interfaceAppContext
-
getClock
public org.apache.hadoop.yarn.util.Clock getClock()- Specified by:
getClockin interfaceAppContext
-
getClusterInfo
- Specified by:
getClusterInfoin interfaceAppContext
-
getBlacklistedNodes
- Specified by:
getBlacklistedNodesin interfaceAppContext
-
getClientToAMTokenSecretManager
public org.apache.hadoop.yarn.security.client.ClientToAMTokenSecretManager getClientToAMTokenSecretManager()- Specified by:
getClientToAMTokenSecretManagerin interfaceAppContext
-
isLastAMRetry
public boolean isLastAMRetry()- Specified by:
isLastAMRetryin interfaceAppContext
-
hasSuccessfullyUnregistered
public boolean hasSuccessfullyUnregistered()- Specified by:
hasSuccessfullyUnregisteredin interfaceAppContext
-
markSuccessfulUnregistration
public void markSuccessfulUnregistration() -
resetIsLastAMRetry
public void resetIsLastAMRetry() -
getNMHostname
- Specified by:
getNMHostnamein interfaceAppContext
-
getTaskAttemptFinishingMonitor
- Specified by:
getTaskAttemptFinishingMonitorin interfaceAppContext
-
getTimelineClient
public org.apache.hadoop.yarn.client.api.TimelineClient getTimelineClient() -
getTimelineV2Client
public org.apache.hadoop.yarn.client.api.TimelineV2Client getTimelineV2Client() -
getHistoryUrl
- Specified by:
getHistoryUrlin interfaceAppContext
-
setHistoryUrl
- Specified by:
setHistoryUrlin interfaceAppContext
-