public class TaskAttemptEventAttemptFailed extends TaskAttemptEvent implements DiagnosableEvent, TaskAttemptEventTerminationCauseEvent, RecoveryEvent
| Constructor and Description |
|---|
TaskAttemptEventAttemptFailed(TezTaskAttemptID id,
TaskAttemptEventType type,
TaskFailureType taskFailureType,
String diagnostics,
TaskAttemptTerminationCause errorCause) |
TaskAttemptEventAttemptFailed(TezTaskAttemptID id,
TaskAttemptEventType type,
TaskFailureType taskFailureType,
String diagnostics,
TaskAttemptTerminationCause errorCause,
boolean isFromRecovery) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiagnosticInfo() |
TaskFailureType |
getTaskFailureType() |
TaskAttemptTerminationCause |
getTerminationCause() |
boolean |
isFromRecovery() |
getSerializingHash, getTaskAttemptIDgetTimestamp, getType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTaskIDgetVertexIDgetDAGIDgetApplicationIdpublic TaskAttemptEventAttemptFailed(TezTaskAttemptID id, TaskAttemptEventType type, TaskFailureType taskFailureType, String diagnostics, TaskAttemptTerminationCause errorCause)
public TaskAttemptEventAttemptFailed(TezTaskAttemptID id, TaskAttemptEventType type, TaskFailureType taskFailureType, String diagnostics, TaskAttemptTerminationCause errorCause, boolean isFromRecovery)
public String getDiagnosticInfo()
getDiagnosticInfo in interface DiagnosableEventpublic TaskAttemptTerminationCause getTerminationCause()
getTerminationCause in interface TaskAttemptEventTerminationCauseEventpublic boolean isFromRecovery()
isFromRecovery in interface RecoveryEventpublic TaskFailureType getTaskFailureType()
Copyright © 2022 Apache Software Foundation. All rights reserved.