public class TaskAttemptEventAttemptFailed extends TaskAttemptEvent implements DiagnosableEvent, TaskAttemptEventTerminationCauseEvent, RecoveryEvent
| Constructor and Description |
|---|
TaskAttemptEventAttemptFailed(org.apache.tez.dag.records.TezTaskAttemptID id,
TaskAttemptEventType type,
org.apache.tez.runtime.api.TaskFailureType taskFailureType,
String diagnostics,
org.apache.tez.dag.records.TaskAttemptTerminationCause errorCause) |
TaskAttemptEventAttemptFailed(org.apache.tez.dag.records.TezTaskAttemptID id,
TaskAttemptEventType type,
org.apache.tez.runtime.api.TaskFailureType taskFailureType,
String diagnostics,
org.apache.tez.dag.records.TaskAttemptTerminationCause errorCause,
boolean isFromRecovery) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiagnosticInfo() |
org.apache.tez.runtime.api.TaskFailureType |
getTaskFailureType() |
org.apache.tez.dag.records.TaskAttemptTerminationCause |
getTerminationCause() |
boolean |
isFromRecovery() |
getSerializingHash, getTaskAttemptIDpublic TaskAttemptEventAttemptFailed(org.apache.tez.dag.records.TezTaskAttemptID id,
TaskAttemptEventType type,
org.apache.tez.runtime.api.TaskFailureType taskFailureType,
String diagnostics,
org.apache.tez.dag.records.TaskAttemptTerminationCause errorCause)
public TaskAttemptEventAttemptFailed(org.apache.tez.dag.records.TezTaskAttemptID id,
TaskAttemptEventType type,
org.apache.tez.runtime.api.TaskFailureType taskFailureType,
String diagnostics,
org.apache.tez.dag.records.TaskAttemptTerminationCause errorCause,
boolean isFromRecovery)
public String getDiagnosticInfo()
getDiagnosticInfo in interface DiagnosableEventpublic org.apache.tez.dag.records.TaskAttemptTerminationCause getTerminationCause()
getTerminationCause in interface TaskAttemptEventTerminationCauseEventpublic boolean isFromRecovery()
isFromRecovery in interface RecoveryEventpublic org.apache.tez.runtime.api.TaskFailureType getTaskFailureType()
Copyright © 2019 Apache Software Foundation. All rights reserved.