public class TaskEventTermination extends TaskEvent implements DiagnosableEvent, TaskAttemptEventTerminationCauseEvent, RecoveryEvent
| Constructor and Description |
|---|
TaskEventTermination(TezTaskID taskID,
TaskAttemptTerminationCause errorCause,
String diagnostics) |
TaskEventTermination(TezTaskID taskID,
TaskAttemptTerminationCause errorCause,
String diagnostics,
boolean fromRecovery) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiagnosticInfo() |
TaskAttemptTerminationCause |
getTerminationCause() |
boolean |
isFromRecovery() |
getSerializingHash, getTaskIDgetTimestamp, getType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVertexIDgetDAGIDgetApplicationIdpublic TaskEventTermination(TezTaskID taskID, TaskAttemptTerminationCause errorCause, String diagnostics)
public TaskEventTermination(TezTaskID taskID, TaskAttemptTerminationCause errorCause, String diagnostics, boolean fromRecovery)
public String getDiagnosticInfo()
getDiagnosticInfo in interface DiagnosableEventpublic TaskAttemptTerminationCause getTerminationCause()
getTerminationCause in interface TaskAttemptEventTerminationCauseEventpublic boolean isFromRecovery()
isFromRecovery in interface RecoveryEventCopyright © 2022 Apache Software Foundation. All rights reserved.