|
||||||||||
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 | |
---|---|
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. |
TaskInfo |
getTaskInfo(TaskType taskType,
int taskNumber)
Get TaskInfo for a given task. |
String |
getUser()
Get the user who ran the job. |
Method Detail |
---|
JobConf getJobConf()
JobConf
for the job.
JobConf
for the jobString getName()
JobID getJobID()
String getUser()
long getSubmissionTime()
int getNumberMaps()
JobStory
.
Job
int getNumberReduces()
JobStory
.
Job
InputSplit[] getInputSplits()
TaskInfo getTaskInfo(TaskType taskType, int taskNumber)
TaskInfo
for a given task.
taskType
- TaskType
of the tasktaskNumber
- Partition number of the task
TaskInfo
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 task
TaskAttemptInfo
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 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 |