[ https://issues.apache.org/jira/browse/OOZIE-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andras Piros updated OOZIE-3345: -------------------------------- Fix Version/s: 5.2.0 > forkjoin validation error when multiple(>=3) actions with "ok to""error to" > same action > --------------------------------------------------------------------------------------- > > Key: OOZIE-3345 > URL: https://issues.apache.org/jira/browse/OOZIE-3345 > Project: Oozie > Issue Type: Bug > Components: core > Affects Versions: 4.3.0 > Reporter: wang jinyin > Priority: Major > Fix For: 5.2.0 > > Original Estimate: 120h > Remaining Estimate: 120h > > when multiple (n >= 3) actions with "ok to" "error to" transition to same > action, forkjoin validation will throw WorkflowException(ErrorCode.E0743) > {quote}org.apache.oozie.workflow.WorkflowException: E0743: Multiple "ok to" > transitions to the same node, [C], are not allowed > at > org.apache.oozie.workflow.lite.LiteWorkflowValidator.validateForkJoin(LiteWorkflowValidator.java:186) > at > org.apache.oozie.workflow.lite.LiteWorkflowValidator.validateForkJoin(LiteWorkflowValidator.java:267) > at > org.apache.oozie.workflow.lite.LiteWorkflowValidator.validateForkJoin(LiteWorkflowValidator.java:271) > at > org.apache.oozie.workflow.lite.LiteWorkflowValidator.validateForkJoin(LiteWorkflowValidator.java:275) > at > org.apache.oozie.workflow.lite.LiteWorkflowValidator.validateWorkflow(LiteWorkflowValidator.java:62) > at > org.apache.oozie.workflow.lite.LiteWorkflowAppParser.validateAndParse(LiteWorkflowAppParser.java:185) > at > org.apache.oozie.workflow.lite.LiteWorkflowLib.parseDef(LiteWorkflowLib.java:58) > at > org.apache.oozie.service.LiteWorkflowAppService.parseDef(LiteWorkflowAppService.java:57) > at > org.apache.oozie.service.LiteWorkflowAppService.parseDef(LiteWorkflowAppService.java:46) > at > org.apache.oozie.command.wf.SubmitXCommand.execute(SubmitXCommand.java:167) > {quote} > > workflow definition: > {quote}<action name="A"> > <ok to="B"/> > <error to="B"/> > </action> > <action name="B"> > <ok to="C"/> > <error to="C"/> > </action> > <action name="C"> > <ok to="end"/> > <error to="kill"/> > </action> > {quote} > > [reason] > When validate A's "ok to" path -> B's "ok to" path, action node C has already > been added into nodeAndDecisionParents. > When validate A's "error to" path -> B's "ok to" path, C's decisionParent == > null and topDecisionParent == null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)