use of org.apache.oozie.executor.jpa.CoordActionGetForTimeoutJPAExecutor in project oozie by apache.
the class CoordActionTimeOutXCommand method loadState.
/* (non-Javadoc)
* @see org.apache.oozie.command.XCommand#loadState()
*/
@Override
protected void loadState() throws CommandException {
jpaService = Services.get().get(JPAService.class);
if (jpaService == null) {
throw new CommandException(ErrorCode.E0610);
}
try {
actionBean = jpaService.execute(new CoordActionGetForTimeoutJPAExecutor(actionBean.getId()));
} catch (JPAExecutorException e) {
throw new CommandException(e);
}
LogUtils.setLogInfo(actionBean);
}
use of org.apache.oozie.executor.jpa.CoordActionGetForTimeoutJPAExecutor in project oozie by apache.
the class CoordActionSkipXCommand method loadState.
@Override
protected void loadState() throws CommandException {
jpaService = Services.get().get(JPAService.class);
if (jpaService == null) {
throw new CommandException(ErrorCode.E0610);
}
try {
actionBean = jpaService.execute(new CoordActionGetForTimeoutJPAExecutor(actionBean.getId()));
} catch (JPAExecutorException e) {
throw new CommandException(e);
}
LogUtils.setLogInfo(actionBean);
}
Aggregations