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

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

+        this.retryPolicy = StringUtils.isNotBlank(retryPolicy)
+                ? RETRYPOLICY.valueOf(retryPolicy.toUpperCase().trim()) : 
RETRYPOLICY.PERIODIC;
Can you handle invalid policy and default to periodic?

+    <property>
+        <name>oozie.action.retry.policy</name>
+        <value>periodic</value>
+        <description>
+            Retry policy of an action in case of failure
+        </description>
+    </property>
Add possible values in description

> Exponential retries for transient failures 
> -------------------------------------------
>
>                 Key: OOZIE-2088
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2088
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: pavan kumar kolamuri
>            Assignee: pavan kumar kolamuri
>         Attachments: OOZIE-2088.patch, OOZIE-2088v1.patch, OOZIE-2088v2.patch
>
>
> For transient failures there is retry mechanism but it is not exponential and 
> there is no separate config for changing the interval , it is linked with 
> oozie.service.ActionCheckerService.action.check.interval (Frequency at which 
> action checkservice will run) . Add separate config for retry interval and 
> add exponential retry mechanism. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to