org.apache.hadoop.tools.rumen
Class MapTaskAttemptInfo
java.lang.Object
org.apache.hadoop.tools.rumen.TaskAttemptInfo
org.apache.hadoop.tools.rumen.MapTaskAttemptInfo
public class MapTaskAttemptInfo
- extends TaskAttemptInfo
MapTaskAttemptInfo represents the information with regard to a
map task attempt.
|
Constructor Summary |
MapTaskAttemptInfo(org.apache.hadoop.mapred.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(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long runtime,
List<List<Integer>> allSplits)
|
|
Method Summary |
long |
getMapRuntime()
Get the runtime for the map phase of the map-task attempt. |
long |
getRuntime()
Get the total runtime for the task-attempt. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapTaskAttemptInfo
public MapTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
TaskInfo taskInfo,
long runtime,
List<List<Integer>> allSplits)
MapTaskAttemptInfo
@Deprecated
public MapTaskAttemptInfo(org.apache.hadoop.mapred.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.
getRuntime
public long getRuntime()
- Description copied from class:
TaskAttemptInfo
- Get the total runtime for the task-attempt.
- Specified by:
getRuntime in class TaskAttemptInfo
- Returns:
- the total runtime for the task-attempt
getMapRuntime
public long getMapRuntime()
- Get the runtime for the map phase of the map-task attempt.
- Returns:
- the runtime for the map phase of the map-task attempt
Copyright © 2013 Apache Software Foundation. All Rights Reserved.