org.apache.hadoop.mapreduce.v2.app
Interface AppContext


@InterfaceAudience.Private
public interface AppContext

Context interface for sharing information across components in YARN App.


Method Summary
 Map<org.apache.hadoop.mapreduce.v2.api.records.JobId,Job> getAllJobs()
           
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()
           
 String getApplicationName()
           
 org.apache.hadoop.yarn.Clock getClock()
           
 org.apache.hadoop.yarn.ClusterInfo getClusterInfo()
           
 org.apache.hadoop.yarn.event.EventHandler getEventHandler()
           
 Job getJob(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID)
           
 long getStartTime()
           
 CharSequence getUser()
           
 

Method Detail

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.Clock getClock()

getClusterInfo

org.apache.hadoop.yarn.ClusterInfo getClusterInfo()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.