Hi Raanan,
Please look into specifying <capture-output/> for your java action and then 
using the key-value pairs of output data generated into any subsequent 
actionhttp://oozie.apache.org/docs/4.0.1/WorkflowFunctionalSpec.html#a4.2.2_Basic_EL_Functions

--Mona
 

     On Tuesday, February 24, 2015 1:56 PM, Raanan Nitzan <[email protected]> 
wrote:
   

 Hi

I have Map/Reduce flow on which the job input is a list of s3n paths.
The list is created by previous java main action.
I want to create workflow.xml and looking for a way in oozie workflow.xml to 
transfer the list from action 1 to action2.

Oozie workflow.xml
<action name=1>
  <java>
  <main-class> { Get a list of coma seperated s3n files path from s3n} 
</main-class>
  <ok to=“2”>
 </action>
<action name=2>
  <map-reduce>
  …
  <property>

      <name> mapreduce.input.fileinputformat.inputdir</name>

      <value>{Use generated list for action #1}</value>

  </property}

  …
</action>

Thanks
Raanan



   

Reply via email to