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

Bulk update for coord last modified time for CoordMaterializeTriggerService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None

    Description

      for (CoordinatorJobBean coordJob : materializeJobs) {
                          if (Services.get().get(JobsConcurrencyService.class).isJobIdForThisServer(coordJob.getId())) {
                              Services.get().get(InstrumentationService.class).get()
                                      .incr(INSTRUMENTATION_GROUP, INSTR_MAT_JOBS_COUNTER, 1);
                              queueCallable(new CoordMaterializeTransitionXCommand(coordJob.getId(), materializationWindow));
                              coordJob.setLastModifiedTime(new Date());
                              CoordJobQueryExecutor.getInstance().executeUpdate(
                                      CoordJobQueryExecutor.CoordJobQuery.UPDATE_COORD_JOB_LAST_MODIFIED_TIME, coordJob);
       }
      

      Attachments

        1. OOZIE-1843-V1.patch
          4 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: