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

Shwetha G S reassigned OOZIE-1709:
----------------------------------

    Assignee: Shwetha G S

> CoordELFunctions.getCurrentInstance() is expensive
> --------------------------------------------------
>
>                 Key: OOZIE-1709
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1709
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>
> {noformat}
>       while (current.compareTo(calEffectiveTime) <= 0) {
>             current = (Calendar) origCurrent.clone();
>             instanceCount[0]++;
>             current.add(dsTimeUnit.getCalendarUnit(), instanceCount[0] * 
> dsFreq);
>         }
> {noformat}
> This computes current instance wrt coord start and this while loop is 
> expensive for small frequency coords with start time in very past



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to