public interface Task
Modifier and Type | Method and Description |
---|---|
boolean |
canCommit(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId taskAttemptID)
Can the output of the taskAttempt be committed.
|
TaskAttempt |
getAttempt(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID) |
Map<org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId,TaskAttempt> |
getAttempts() |
org.apache.hadoop.mapreduce.Counters |
getCounters() |
org.apache.hadoop.mapreduce.v2.api.records.TaskId |
getID() |
float |
getProgress() |
org.apache.hadoop.mapreduce.v2.api.records.TaskReport |
getReport() |
org.apache.hadoop.mapreduce.v2.api.records.TaskState |
getState() |
org.apache.hadoop.mapreduce.v2.api.records.TaskType |
getType() |
boolean |
isFinished()
Has Task reached the final state or not.
|
org.apache.hadoop.mapreduce.v2.api.records.TaskId getID()
org.apache.hadoop.mapreduce.v2.api.records.TaskReport getReport()
org.apache.hadoop.mapreduce.v2.api.records.TaskState getState()
org.apache.hadoop.mapreduce.Counters getCounters()
float getProgress()
org.apache.hadoop.mapreduce.v2.api.records.TaskType getType()
Map<org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId,TaskAttempt> getAttempts()
TaskAttempt getAttempt(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
boolean isFinished()
boolean canCommit(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId taskAttemptID)
taskAttemptID
- Copyright © 2008–2024 Apache Software Foundation. All rights reserved.