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

Attila Sasvari commented on OOZIE-2511:
---------------------------------------

In SubWorkflowActionExecutor's start() method, 
injectInline(eConf.getChild("configuration", ns), subWorkflowConf) is called 
after parent configuration is copied to the subworkflow's configuration.

As a result, variable a defined in config-default.xml will override the 
subworkflow's variable with the same name.

> SubWorkflow missing variable set from option if config-default is present in 
> parent workflow
> --------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2511
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2511
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Peter Cseh
>            Assignee: Attila Sasvari
>         Attachments: OOZIE-2511-001.patch, OOZIE-2511-002.patch, 
> OOZIE-2511-003.patch
>
>
> The attached test worked fine before commit of OOZIE-2030.
> After that commit, the subworkflow gets the default value instead of the one 
> that was set for the parent workflow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to