public class ReduceTaskAttemptInfo extends TaskAttemptInfo
ReduceTaskAttemptInfo represents the information with regard to a
reduce task attempt.allSplits, state, taskInfo| Constructor | Description |
|---|---|
ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long shuffleTime,
long mergeTime,
long reduceTime) |
Deprecated.
please use the constructor with
(state, taskInfo, shuffleTime, mergeTime, reduceTime
List<List<Integer>> allSplits)
instead. |
ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long shuffleTime,
long mergeTime,
long reduceTime,
java.util.List<java.util.List<java.lang.Integer>> allSplits) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getMergeRuntime() |
Get the runtime for the merge phase of the reduce task-attempt
|
long |
getReduceRuntime() |
Get the runtime for the reduce phase of the reduce task-attempt.
|
long |
getRuntime() |
Get the total runtime for the task-attempt.
|
long |
getShuffleRuntime() |
Get the runtime for the shuffle phase of the reduce task-attempt.
|
getRunState, getSplitVector, getTaskInfopublic ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long shuffleTime,
long mergeTime,
long reduceTime,
java.util.List<java.util.List<java.lang.Integer>> allSplits)
@Deprecated
public ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long shuffleTime,
long mergeTime,
long reduceTime)
(state, taskInfo, shuffleTime, mergeTime, reduceTime
List<List<Integer>> allSplits)
instead.
see LoggedTaskAttempt for an explanation of
allSplits.
If there are no known splits, use null.public long getReduceRuntime()
public long getShuffleRuntime()
public long getMergeRuntime()
public long getRuntime()
TaskAttemptInfogetRuntime in class TaskAttemptInfoCopyright © 2008–2025 Apache Software Foundation. All rights reserved.