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

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

Can you remove
{noformat}
     <property>
-        <name>oozie.service.LiteWorkflowStoreService.user.retry.inteval</name>
+        <name>oozie.service.LiteWorkflowStoreService.user.retry.interval</name>
         <value>10</value>
{noformat}
from oozie-default.xml and change
{code}
+        int ret = conf.get(CONF_USER_RETRY_INTEVAL) != null ? 
conf.getInt(CONF_USER_RETRY_INTEVAL, 5)
+                : conf.getInt(CONF_USER_RETRY_INTERVAL, 5);
to
+        int ret =  conf.getInt(CONF_USER_RETRY_INTERVAL, 
conf.get(CONF_USER_RETRY_INTEVAL, 5));
{code}
We should give preference to CONF_USER_RETRY_INTERVAL so that users use the 
right config. CONF_USER_RETRY_INTEVAL is just for backward compatibility


> Fix typo (inteval to interval)
> ------------------------------
>
>                 Key: OOZIE-1654
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1654
>             Project: Oozie
>          Issue Type: Improvement
>          Components: action
>    Affects Versions: 4.0.0
>            Reporter: Azrael
>            Priority: Trivial
>         Attachments: OOZIE-1654.1.patch, OOZIE-1654.patch
>
>
> Fix typo inteval to interval.
> oozie-default.xml
> {code:xml}
> <name>oozie.service.LiteWorkflowStoreService.user.retry.inteval</name>
> >>> to
> <name>oozie.service.LiteWorkflowStoreService.user.retry.interval</name>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to