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