[
https://issues.apache.org/jira/browse/OOZIE-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397948#comment-13397948
]
Alejandro Abdelnur commented on OOZIE-12:
-----------------------------------------
+1. run all testcases. would you mind running some of the examples using the
new schema version? after your confirmation we are good to go.
> Support for multiple job-xml elements in action nodes
> -----------------------------------------------------
>
> Key: OOZIE-12
> URL: https://issues.apache.org/jira/browse/OOZIE-12
> Project: Oozie
> Issue Type: Improvement
> Reporter: Samir Eljazovic
> Assignee: Robert Kanter
> Labels: oozie
> Attachments: 12-v2.patch, 12-v3.patch, 12-v4.patch, 12.patch
>
>
> There is a use case when having ability to specify multiple job-xml elements
> in action node would help in reducing the complexity of Oozie workflow and
> simplify WF configuration maintenance.
> The basic idea is to split configuration properties into multiple files (per
> component for example) and re-use these files for different actions in the WF.
> For example, we can have following configuration files available:
> * app-db-config.xml
> * app-ws-config.xml
> * app-hbase-config.xml
> * app-hadoop-config.xml
> * ...
> Now, when action in WF requires properties from one or two configuration
> file, we would be able to specify only those files:
> <workflow-app name="foo-wf" xmlns="uri:oozie:workflow:0.1">
> ...
> <action name="MultipleJobXMLsAction">
> <map-reduce>
> <job-tracker>foo:9001</job-tracker>
> <name-node>bar:9000</name-node>
> <job-xml>/app-db-config.xml</job-xml>
> <job-xml>/app-hbase-config.xml</job-xml>
> <configuration>
> <property>
> <name>mapred.input.dir</name>
> <value>/usr/tucu/input-data</value>
> </property>
> <property>
> <name>mapred.output.dir</name>
> <value>/usr/tucu/input-data</value>
> </property>
> <property>
> <name>mapred.reduce.tasks</name>
> <value>${firstJobReducers}</value>
> </property>
> </configuration>
> </map-reduce>
> <ok to="myNextAction"/>
> <error to="errorCleanup"/>
> </action>
> ...
> </workflow-app>
> This functionality can be easily implemented inside setup method for Hadoop
> mapper class but it would be more elegant to have it exposed as part of Oozie
> WF
--
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