You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Fabien FALLERI (JIRA)" <ji...@apache.org> on 2017/11/08 15:12:00 UTC

[jira] [Comment Edited] (OOZIE-1403) forkjoin validation blocks some valid cases involving decision nodes

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

Fabien FALLERI edited comment on OOZIE-1403 at 11/8/17 3:11 PM:
----------------------------------------------------------------

4.3.0 seems affected by same bug even without fork :

<action A>
   <ok to="C">
   <error to="B">
</action A>
<action B>
   <ok to="C">
</action B>
<action C>
   <ok to="D">
</action C>


was (Author: fabienf06):
4.3.0 seems affect by same bug even without fork :

<action A>
   <ok to="C">
   <error to="B">
</action A>
<action B>
   <ok to="C">
</action B>
<action C>
   <ok to="D">
</action C>

> forkjoin validation blocks some valid cases involving decision nodes
> --------------------------------------------------------------------
>
>                 Key: OOZIE-1403
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1403
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 3.3.2
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: 4.1.0
>
>         Attachments: OOZIE-1403.patch
>
>
> As described [here|https://issues.apache.org/jira/browse/OOZIE-1035?focusedCommentId=13676534&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13676534] in OOZIE-1035, the new forkjoin checker code is blocking some valid cases involving decision nodes where the decision nodes are inside the forkjoin; when they are outside, its not a problem.
> 1) This uses a decision node to "insert" an action based on {{foo}}:
> {noformat}
> <fork>
>    <goto decision>
>    <goto join>
> </fork>
> <decision>
>    <if foo, goto A>
>    <else, goto B>
> </decision>
> <action A>
>    <ok to="B">
> </action A>
> <action B>
>    <ok to="join">
> </action B>
> <join>
> {noformat}
> 2) This uses a decision node to "replace" an action based on {{foo}}:
> {noformat}
> <fork>
>    <goto decision>
>    <goto join>
> </fork>
> <decision>
>    <if foo, goto A>
>    <else, goto B>
> </decision>
> <action A>
>    <ok to="join">
> </action A>
> <action B>
>    <ok to="join">
> </action B>
> <join>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)