use of org.apache.tez.dag.app.dag.event.DAGEventDiagnosticsUpdate in project tez by apache.
the class TaskImpl method internalErrorUncaughtException.
protected void internalErrorUncaughtException(TaskEventType type, Exception e) {
eventHandler.handle(new DAGEventDiagnosticsUpdate(this.taskId.getVertexID().getDAGId(), "Uncaught exception when handling event " + type + " on Task " + this.taskId + ", error=" + e.getMessage()));
eventHandler.handle(new DAGEvent(this.taskId.getVertexID().getDAGId(), DAGEventType.INTERNAL_ERROR));
}
use of org.apache.tez.dag.app.dag.event.DAGEventDiagnosticsUpdate in project tez by apache.
the class TaskImpl method internalError.
protected void internalError(TaskEventType type) {
LOG.error("Invalid event " + type + " on Task " + this.taskId + " in state:" + getInternalState());
eventHandler.handle(new DAGEventDiagnosticsUpdate(this.taskId.getVertexID().getDAGId(), "Invalid event " + type + " on Task " + this.taskId));
eventHandler.handle(new DAGEvent(this.taskId.getVertexID().getDAGId(), DAGEventType.INTERNAL_ERROR));
}
Aggregations