[ 
https://issues.apache.org/jira/browse/OOZIE-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822260#comment-13822260
 ] 

Shwetha G S commented on OOZIE-1590:
------------------------------------

        long endTimeMilli = startTimeMilli + (materializationWindow * 1000);
        endMatdTime = DateUtils.toDate(new Timestamp(endTimeMilli));
        if (jobEndTime.compareTo(endMatdTime) <= 0) {
            LOG.info("[" + job.getId() + "]: all actions have been 
materialized, set pending to true");
            // set doneMaterialization to true when materialization is done
            job.setDoneMaterialization();
        }

Note that materializationWindow is 10 mins(not 1 hr). At 9:50 when oozie 
materializes for 10:00, endMatdTime is 10:00 which is less than job end time 
11:00. So, doneMaterialization is not set. doneMaterialization is set only at 
10:50

> Coord status not updated
> ------------------------
>
>                 Key: OOZIE-1590
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1590
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Shwetha G S
>
> StatusTransitService looks for coord whose actions are updated in 
> COORD_ACTIONS table. But done with materialization is updated for coord in 
> COORD_JOBS table and never gets picked up by StatusTransitService after that



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to