[ 
https://issues.apache.org/jira/browse/OOZIE-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Purshotam Shah updated OOZIE-1843:
----------------------------------
    Fix Version/s: 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
>             Fix For: trunk
>
>         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)

Reply via email to