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.
| 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
allSplits
protected final List<List<Integer>> allSplits
TaskAttemptInfo
protected TaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
List<List<Integer>> allSplits)
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
getSplitVector
public List<Integer> getSplitVector(LoggedTaskAttempt.SplitVectorKind kind)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.