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

Robert Kanter commented on OOZIE-1403:
--------------------------------------

It looks like your workflow got cutoff; it ends at a fork and doesn't have the 
oldDatasetDelete action mentioned in your error message.  

If you surround your workflow in either noformat or code tags, it will preserve 
formatting and prevent JIRA from doing anything funny.  
e.g.
{noformat}
{code:xml}
<action name="blah">
   <namenode>blah</namenode>
</action>
{code}
{noformat}
will result in:
{code:xml}
<action name="blah">
   <namenode>blah</namenode>
</action>
{code}
                
> 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: trunk
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to