void logJobHistoryVertexFailedEvent(VertexStatus.State state) {
VertexFinishedEvent finishEvt = new VertexFinishedEvent(vertexId,
vertexName, initTimeRequested, initedTime, startTimeRequested,
startedTime, clock.getTime(), state, StringUtils.join(LINE_SEPARATOR,
getDiagnostics()), getAllCounters());
this.eventHandler.handle(new DAGHistoryEvent(finishEvt));
}