|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobStory
JobStory represents the runtime information available for a
completed Map-Reduce job.
| Method Summary | |
|---|---|
org.apache.hadoop.mapreduce.InputSplit[] |
getInputSplits()
Get the input splits for the job. |
org.apache.hadoop.mapred.JobConf |
getJobConf()
Get the JobConf for the job. |
org.apache.hadoop.mapreduce.JobID |
getJobID()
Get the job ID |
TaskAttemptInfo |
getMapTaskAttemptInfoAdjusted(int taskNumber,
int taskAttemptNumber,
int locality)
Get TaskAttemptInfo for a given task-attempt, considering impact
of locality. |
String |
getName()
Get the job name. |
int |
getNumberMaps()
Get the number of maps in the JobStory. |
int |
getNumberReduces()
Get the number of reduce in the JobStory. |
Pre21JobHistoryConstants.Values |
getOutcome()
Get the outcome of the job execution. |
String |
getQueueName()
Get the queue where the job is submitted. |
long |
getSubmissionTime()
Get the job submission time. |
TaskAttemptInfo |
getTaskAttemptInfo(org.apache.hadoop.mapreduce.TaskType taskType,
int taskNumber,
int taskAttemptNumber)
Get TaskAttemptInfo for a given task-attempt, without regard to
impact of locality (e.g. |
TaskInfo |
getTaskInfo(org.apache.hadoop.mapreduce.TaskType taskType,
int taskNumber)
Get TaskInfo for a given task. |
String |
getUser()
Get the user who ran the job. |
| Method Detail |
|---|
org.apache.hadoop.mapred.JobConf getJobConf()
JobConf for the job.
JobConf for the jobString getName()
org.apache.hadoop.mapreduce.JobID getJobID()
String getUser()
long getSubmissionTime()
int getNumberMaps()
JobStory.
Jobint getNumberReduces()
JobStory.
Joborg.apache.hadoop.mapreduce.InputSplit[] getInputSplits()
TaskInfo getTaskInfo(org.apache.hadoop.mapreduce.TaskType taskType,
int taskNumber)
TaskInfo for a given task.
taskType - TaskType of the tasktaskNumber - Partition number of the task
TaskInfo for the given task
TaskAttemptInfo getTaskAttemptInfo(org.apache.hadoop.mapreduce.TaskType taskType,
int taskNumber,
int taskAttemptNumber)
TaskAttemptInfo for a given task-attempt, without regard to
impact of locality (e.g. not needed to make scheduling decisions).
taskType - TaskType of the task-attempttaskNumber - Partition number of the task-attempttaskAttemptNumber - Attempt number of the task
TaskAttemptInfo for the given task-attempt
TaskAttemptInfo getMapTaskAttemptInfoAdjusted(int taskNumber,
int taskAttemptNumber,
int locality)
TaskAttemptInfo for a given task-attempt, considering impact
of locality.
taskNumber - Partition number of the task-attempttaskAttemptNumber - Attempt number of the tasklocality - Data locality of the task as scheduled in simulation
TaskAttemptInfo for the given task-attemptPre21JobHistoryConstants.Values getOutcome()
String getQueueName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||