public class TaskAttemptEventAttemptKilled extends TaskAttemptEvent implements DiagnosableEvent, TaskAttemptEventTerminationCauseEvent, RecoveryEvent
| Constructor and Description |
|---|
TaskAttemptEventAttemptKilled(TezTaskAttemptID id,
String diagnostics,
TaskAttemptTerminationCause errorCause) |
TaskAttemptEventAttemptKilled(TezTaskAttemptID id,
String diagnostics,
TaskAttemptTerminationCause errorCause,
boolean fromRecovery) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiagnosticInfo() |
TaskAttemptTerminationCause |
getTerminationCause() |
boolean |
isFromRecovery() |
getSerializingHash, getTaskAttemptIDpublic TaskAttemptEventAttemptKilled(TezTaskAttemptID id, String diagnostics, TaskAttemptTerminationCause errorCause)
public TaskAttemptEventAttemptKilled(TezTaskAttemptID id, String diagnostics, TaskAttemptTerminationCause errorCause, boolean fromRecovery)
public String getDiagnosticInfo()
getDiagnosticInfo in interface DiagnosableEventpublic TaskAttemptTerminationCause getTerminationCause()
getTerminationCause in interface TaskAttemptEventTerminationCauseEventpublic boolean isFromRecovery()
isFromRecovery in interface RecoveryEventCopyright © 2021 Apache Software Foundation. All rights reserved.