[
https://issues.apache.org/jira/browse/OOZIE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244730#comment-13244730
]
[email protected] commented on OOZIE-797:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4576/
-----------------------------------------------------------
(Updated 2012-04-02 22:14:01.138052)
Review request for oozie.
Changes
-------
added correction to oozie-default.xml
modified testcase to test only the codes lookup, instead of a complete action
retry execution
Summary
-------
the oozie-default:
<name>oozie.service.LiteWorkflowStoreService.user.retry.error.code</name>
<value>
JA008,
JA009,
JA017,
JA018,
JA019,
FS009,
FS008
</value>
but the action failed these error codes, is not retried. Retry works if this
property is specified in oozie-site.xml
This problem is resolved by creating the error codes Set after eliminating
whitespaces if any.
This addresses bug OOZIE-797.
https://issues.apache.org/jira/browse/OOZIE-797
Diffs (updated)
-----
trunk/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.java
1308501
trunk/core/src/main/resources/oozie-default.xml 1308501
trunk/core/src/test/java/org/apache/oozie/service/TestLiteWorkflowStoreService.java
1308501
Diff: https://reviews.apache.org/r/4576/diff
Testing
-------
yes
Thanks,
Mona
> Action retry not reading default error code.
> --------------------------------------------
>
> Key: OOZIE-797
> URL: https://issues.apache.org/jira/browse/OOZIE-797
> Project: Oozie
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Labels: oozie
> Fix For: 3.2.0
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> the oozie-default:
>
> <name>oozie.service.LiteWorkflowStoreService.user.retry.error.code</name>
> <value>
> JA008,
> JA009,
> JA017,
> JA018,
> JA019,
> FS009,
> FS008
> </value>
> but the action failed these error codes, is not retried. Retry works if this
> property is specified in oozie-site.xml
> Also, for sub-workflow applications, the child workflow action is retried
> (oozie-site property set), but parent workflow is not rerun after child
> reports success.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira