Interface AppContext

All Known Implementing Classes:
MRAppMaster.RunningAppContext

@Private public interface AppContext
Context interface for sharing information across components in YARN App.
  • 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

      Job getJob(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID)
    • getAllJobs

      Map<org.apache.hadoop.mapreduce.v2.api.records.JobId,Job> 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

      Set<String> 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

      void setHistoryUrl(String historyUrl)