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