protected static class RecoverTransition implements
MultipleArcTransition<TaskAttemptImpl, TaskAttemptEvent, TaskAttemptStateInternal> {
@Override
public TaskAttemptStateInternal transition(TaskAttemptImpl taskAttempt, TaskAttemptEvent taskAttemptEvent) {
TaskAttemptStateInternal endState = TaskAttemptStateInternal.FAILED;
switch(taskAttempt.recoveredState) {
case NEW:
case RUNNING:
// FIXME once running containers can be recovered, this
// should be handled differently