How to fork three different job which uses same generic workflow.xml with different list of parameters? How to fork three different job which uses same generic workflow.xml with different list of parameters? hadoop hadoop

How to fork three different job which uses same generic workflow.xml with different list of parameters?


You can use the configuration tag of the sub-workflow action and pass the required parameters. This is how it will look like: (Add all the required properties)

<action name="aa">    <sub-workflow>        <app-path>${nN}/xyz/workflow.xml</app-path>        <propagate-configuration/>        <configuration>            <property>               <name>input_path</name>               <value>your_input_path</value>            </property>        </configuration>    </sub-workflow>    <ok to="special-join"/>    <error to="kill"/></action>