public class TezTaskRunner extends Object implements org.apache.tez.runtime.api.impl.TezUmbilical, ErrorReporter
| Modifier and Type | Method and Description |
|---|---|
void |
addEvents(Collection<org.apache.tez.runtime.api.impl.TezEvent> events) |
boolean |
canCommit(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID) |
void |
reportError(Throwable t) |
boolean |
run() |
void |
shutdownRequested() |
void |
signalFatalError(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
Throwable t,
String message,
org.apache.tez.runtime.api.impl.EventMetaData sourceInfo) |
public boolean run()
throws InterruptedException,
IOException,
org.apache.tez.dag.api.TezException
org.apache.tez.dag.api.TezExceptionIOExceptionInterruptedExceptionpublic void addEvents(Collection<org.apache.tez.runtime.api.impl.TezEvent> events)
addEvents in interface org.apache.tez.runtime.api.impl.TezUmbilicalpublic void signalFatalError(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID,
Throwable t,
String message,
org.apache.tez.runtime.api.impl.EventMetaData sourceInfo)
signalFatalError in interface org.apache.tez.runtime.api.impl.TezUmbilicalpublic boolean canCommit(org.apache.tez.dag.records.TezTaskAttemptID taskAttemptID)
canCommit in interface org.apache.tez.runtime.api.impl.TezUmbilicalpublic void reportError(Throwable t)
reportError in interface ErrorReporterpublic void shutdownRequested()
shutdownRequested in interface ErrorReporterCopyright © 2014 Apache Software Foundation. All rights reserved.