| 限定符和类型 | 方法和说明 |
|---|---|
InputSplit[] |
getInputSplits()
Get the input splits for the job.
|
JobConf |
getJobConf()
Get the
JobConf for the job. |
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(TaskType taskType,
int taskNumber,
int taskAttemptNumber)
Get
TaskAttemptInfo for a given task-attempt, without regard to
impact of locality (e.g. not needed to make scheduling decisions). |
TaskInfo |
getTaskInfo(TaskType taskType,
int taskNumber)
Get
TaskInfo for a given task. |
String |
getUser()
Get the user who ran the job.
|
String getName()
JobID getJobID()
String getUser()
long getSubmissionTime()
int getNumberMaps()
JobStory.Jobint getNumberReduces()
JobStory.JobInputSplit[] getInputSplits()
TaskInfo getTaskInfo(TaskType taskType, int taskNumber)
TaskInfo for a given task.taskType - TaskType of the tasktaskNumber - Partition number of the taskTaskInfo for the given taskTaskAttemptInfo getTaskAttemptInfo(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 taskTaskAttemptInfo for the given task-attemptTaskAttemptInfo 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 simulationTaskAttemptInfo for the given task-attemptPre21JobHistoryConstants.Values getOutcome()
String getQueueName()
Copyright © 2009 The Apache Software Foundation