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

Robert Kanter commented on OOZIE-1638:
--------------------------------------

I'm thinking maybe we should change the default to 0 because:
a) That's the current effective behavior
b) There's no documentation on this; also, we don't mention what the possible 
Error Codes are that users could put into 
{{oozie.service.LiteWorkflowStoreService.user.retry.error.code}} or 
{{oozie.service.LiteWorkflowStoreService.user.retry.error.code.ext}}
c) The desired behavior of retrying on those error codes can be achieved in the 
workflow.xml; this is just the default when unspecified
I could see it the other way too though; 3 is supposed to be the correct 
behavior.  If you want to keep it at 3, I'm fine with that too.

Perhaps as part of this JIRA (or a followup/subtask) we should add 
documentation on this property and on the possible Error Codes that can be 
specified.  

> Action retry does not use default retry max count.
> --------------------------------------------------
>
>                 Key: OOZIE-1638
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1638
>             Project: Oozie
>          Issue Type: Bug
>          Components: action
>    Affects Versions: 4.0.0
>            Reporter: Azrael
>            Priority: Minor
>         Attachments: OOZIE-1638.2.patch, OOZIE-1638.3.patch, 
> OOZIE-1638.4.patch, OOZIE-1638.patch
>
>
> the oozie-default
> {code:xml}
> <property>
>         <name>oozie.service.LiteWorkflowStoreService.user.retry.max</name>
>         <value>3</value>
>         <description>
>             Automatic retry max count for workflow action is 3 in default.
>         </description>
> </property>
> {code}
> but the action failed with error, is not retried. 
> It should retry $\{user.retry.max\} times.
> If the patch applied, some other tests in TestActionError failed because the 
> action is not terminated for retrying.



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

Reply via email to