if (coordJob.getStatus() == CoordinatorJob.Status.PREP || coordJob.getStatus() == CoordinatorJob.Status.IGNORED) {
LOG.info("CoordRerunXCommand is not able to run, job status=" + coordJob.getStatus() + ", jobid=" + jobId);
// Call the parent so the pending flag is reset and state transition
// of bundle can happen
if (coordJob.getBundleId() != null) {
bundleStatusUpdate.call();
}
if (coordJob.getStatus() == CoordinatorJob.Status.PREP) {
throw new CommandException(ErrorCode.E1018,
"coordinator job is PREP so no actions are materialized to rerun!");
}