public class MapTaskAttemptInfo extends TaskAttemptInfo
MapTaskAttemptInfo represents the information with regard to a
map task attempt.state, taskInfo| 构造器和说明 |
|---|
MapTaskAttemptInfo(TaskStatus.State state,
TaskInfo taskInfo,
long runtime) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, getTaskInfopublic MapTaskAttemptInfo(TaskStatus.State state, TaskInfo taskInfo, long runtime)
public long getRuntime()
TaskAttemptInfogetRuntime 在类中 TaskAttemptInfopublic long getMapRuntime()
Copyright © 2009 The Apache Software Foundation