public interface TaskReporterInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addEvents(TezTaskAttemptID taskAttemptId,
Collection<TezEvent> events) |
boolean |
canCommit(TezTaskAttemptID taskAttemptId) |
void |
registerTask(RuntimeTask task,
ErrorReporter errorReporter) |
void |
shutdown() |
boolean |
taskFailed(TezTaskAttemptID taskAttemptId,
TaskFailureType taskFailureType,
Throwable cause,
String diagnostics,
EventMetaData srcMeta) |
boolean |
taskKilled(TezTaskAttemptID taskAttemtpId,
Throwable cause,
String diagnostics,
EventMetaData srcMeta) |
boolean |
taskSucceeded(TezTaskAttemptID taskAttemptId) |
void |
unregisterTask(TezTaskAttemptID taskAttemptId) |
void registerTask(RuntimeTask task, ErrorReporter errorReporter)
void unregisterTask(TezTaskAttemptID taskAttemptId)
boolean taskSucceeded(TezTaskAttemptID taskAttemptId) throws IOException, TezException
IOExceptionTezExceptionboolean taskFailed(TezTaskAttemptID taskAttemptId, TaskFailureType taskFailureType, Throwable cause, String diagnostics, EventMetaData srcMeta) throws IOException, TezException
IOExceptionTezExceptionboolean taskKilled(TezTaskAttemptID taskAttemtpId, Throwable cause, String diagnostics, EventMetaData srcMeta) throws IOException, TezException
IOExceptionTezExceptionvoid addEvents(TezTaskAttemptID taskAttemptId, Collection<TezEvent> events)
boolean canCommit(TezTaskAttemptID taskAttemptId) throws IOException
IOExceptionvoid shutdown()
Copyright © 2022 Apache Software Foundation. All rights reserved.