log.info(handlerClassName.getClassName() + " is not a recoverable handler so we do not run because it already ran in last-run");
}
} else {
log.info(handlerClassName.getClassName() + " never ran so we run this is normal mode");
GFacUtils.createPluginZnode(zk, jobExecutionContext, handlerClassName.getClassName(), GfacPluginState.INVOKING);
handler.initProperties(handlerClassName.getProperties());
handler.invoke(jobExecutionContext);
GFacUtils.updatePluginState(zk, jobExecutionContext, handlerClassName.getClassName(), GfacPluginState.COMPLETED);
}
} catch (GFacHandlerException e) {
throw new GFacException("Error Executing a InFlow Handler", e.getCause());