[
https://issues.apache.org/jira/browse/OOZIE-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117273#comment-14117273
]
Shwetha G S commented on OOZIE-1843:
------------------------------------
+1
> 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)