org.apache.hadoop.mapreduce.v2.app
Interface AppContext
- All Known Implementing Classes:
- MRAppMaster.RunningAppContext
@InterfaceAudience.Private
public interface AppContext
Context interface for sharing information across components in YARN App.
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 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()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.