case TASK_ATTEMPT_STARTED:
{
TaskAttemptStartedEvent taskAttemptStartedEvent =
(TaskAttemptStartedEvent) historyEvent;
TaskAttempt recoveredAttempt = createRecoveredEvent(taskAttemptStartedEvent);
recoveredAttempt.restoreFromEvent(taskAttemptStartedEvent);
if (LOG.isDebugEnabled()) {
LOG.debug("Adding restored attempt into known attempts map"
+ ", taskAttemptId=" + taskAttemptStartedEvent.getTaskAttemptID());
}
this.attempts.put(taskAttemptStartedEvent.getTaskAttemptID(),