You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2012/04/02 22:23:25 UTC

[jira] [Commented] (OOZIE-797) Action retry not reading default error code.

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

jiraposter@reviews.apache.org commented on OOZIE-797:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4576/
-----------------------------------------------------------

(Updated 2012-04-02 20:22:13.410404)


Review request for oozie.


Changes
-------

incorporated review comments. Added test case


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/test/java/org/apache/oozie/command/wf/TestActionErrors.java 1308501 
  trunk/core/src/main/java/org/apache/oozie/service/LiteWorkflowStoreService.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