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

Bulk update for coord last modified time for CoordMaterializeTriggerService

    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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: