public class MapTaskAttemptInfo extends TaskAttemptInfo
MapTaskAttemptInfo
represents the information with regard to a
map task attempt.allSplits, state, taskInfo
Constructor and Description |
---|
MapTaskAttemptInfo(TaskStatus.State state,
TaskInfo taskInfo,
long runtime)
Deprecated.
please use the constructor with
(state, taskInfo, runtime,
List<List<Integer>> allSplits)
instead.
see LoggedTaskAttempt for an explanation of
allSplits .
If there are no known splits, use null . |
MapTaskAttemptInfo(TaskStatus.State state,
TaskInfo taskInfo,
long runtime,
List<List<Integer>> allSplits) |
Modifier and Type | Method and Description |
---|---|
long |
getMapRuntime()
Get the runtime for the map phase of the map-task attempt.
|
long |
getRuntime()
Get the total runtime for the task-attempt.
|
getRunState, getSplitVector, getTaskInfo
public MapTaskAttemptInfo(TaskStatus.State state, TaskInfo taskInfo, long runtime, List<List<Integer>> allSplits)
@Deprecated public MapTaskAttemptInfo(TaskStatus.State state, TaskInfo taskInfo, long runtime)
(state, taskInfo, runtime,
List<List<Integer>> allSplits)
instead.
see LoggedTaskAttempt
for an explanation of
allSplits
.
If there are no known splits, use null
.public long getRuntime()
TaskAttemptInfo
getRuntime
in class TaskAttemptInfo
public long getMapRuntime()
Copyright © 2013 Apache Software Foundation. All rights reserved.