org.apache.hadoop.tools.rumen
Class TaskAttemptInfo
java.lang.Object
org.apache.hadoop.tools.rumen.TaskAttemptInfo
- Direct Known Subclasses:
- MapTaskAttemptInfo, ReduceTaskAttemptInfo
public abstract class TaskAttemptInfo
- extends Object
TaskAttemptInfo
is a collection of statistics about a particular
task-attempt gleaned from job-history of the job.
Method Summary |
org.apache.hadoop.mapred.TaskStatus.State |
getRunState()
Get the final TaskStatus.State of the task-attempt. |
abstract long |
getRuntime()
Get the total runtime for the task-attempt. |
TaskInfo |
getTaskInfo()
Get the TaskInfo for the given task-attempt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected final org.apache.hadoop.mapred.TaskStatus.State state
taskInfo
protected final TaskInfo taskInfo
TaskAttemptInfo
protected TaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo)
getRunState
public org.apache.hadoop.mapred.TaskStatus.State getRunState()
- Get the final
TaskStatus.State
of the task-attempt.
- Returns:
- the final
State
of the task-attempt
getRuntime
public abstract long getRuntime()
- Get the total runtime for the task-attempt.
- Returns:
- the total runtime for the task-attempt
getTaskInfo
public TaskInfo getTaskInfo()
- Get the
TaskInfo
for the given task-attempt.
- Returns:
- the
TaskInfo
for the given task-attempt
Copyright © 2009 The Apache Software Foundation