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.
|
public boolean canCommit(TaskAttemptId taskAttemptID)
Task
public TaskAttempt getAttempt(TaskAttemptId attemptID)
getAttempt
in interface Task
public Map<TaskAttemptId,TaskAttempt> getAttempts()
getAttempts
in interface Task
public Counters getCounters()
getCounters
in interface Task
public float getProgress()
getProgress
in interface Task
public TaskReport getReport()
public boolean isFinished()
Task
isFinished
in interface Task
Copyright © 2013 Apache Software Foundation. All rights reserved.