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

PauseTransitService does not proceed forward if any job has issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: