Exemple #1
0
 @Override
 protected void eagerLoadState() throws CommandException {
   try {
     coordJob = CoordJobQueryExecutor.getInstance().get(CoordJobQuery.GET_COORD_JOB, jobId);
   } catch (JPAExecutorException e) {
     throw new CommandException(e);
   }
 }
Exemple #2
0
 /* (non-Javadoc)
  * @see org.apache.oozie.command.XCommand#loadState()
  */
 @Override
 protected void loadState() throws CommandException {
   try {
     coordJob = CoordJobQueryExecutor.getInstance().get(CoordJobQuery.GET_COORD_JOB, jobId);
     prevPending = coordJob.isPending();
   } catch (JPAExecutorException je) {
     throw new CommandException(je);
   }
   LogUtils.setLogInfo(coordJob);
 }