Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2055

PauseTransitService does not proceed forward if any job has issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None

      Description

       // start bundles as needed;
                  try {
                      jobList = jpaService.execute(new BundleJobsGetNeedStartJPAExecutor(d));
                      if (jobList != null) {
                          for (BundleJobBean bundleJob : jobList) {
                              bundleJob.setKickoffTime(d);
                              new BundleStartXCommand(bundleJob.getId()).call();
                              LOG.debug("Calling BundleStartXCommand for bundle job = " + bundleJob.getId());
                          }
                      }
                  }
                  catch (Exception ex) {
                      LOG.warn("Exception happened when pausing/unpausing/starting Bundle jobs", ex);
                  }
      
      

      If any of job has issue, then exception will be thrown and PauseTransitService will ignore all other jobs.

        Attachments

        1. OOZIE-2055-V1.patch
          11 kB
          Purshotam Shah

          Activity

            People

            • Assignee:
              puru Purshotam Shah
              Reporter:
              puru Purshotam Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: