[ https://issues.apache.org/jira/browse/OOZIE-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121780#comment-14121780 ]
Purshotam Shah commented on OOZIE-1843: --------------------------------------- Thanks Shwetha for review. Committed to trunk. > Bulk update for coord last modified time for CoordMaterializeTriggerService > --------------------------------------------------------------------------- > > Key: OOZIE-1843 > URL: https://issues.apache.org/jira/browse/OOZIE-1843 > Project: Oozie > Issue Type: Bug > Reporter: Purshotam Shah > Assignee: Purshotam Shah > Attachments: OOZIE-1843-V1.patch > > > {code} > 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); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)