For each workflow you can set =oozie.libpath=. oozie.libpath can be multiple 
directory ( comma separated).
You can put all common custom jars in one location and set oozie.libpath to 
that 
location.https://oozie.apache.org/docs/4.1.0/WorkflowFunctionalSpec.html#a17_HDFS_Share_Libraries_for_Workflow_Applications_since_Oozie_2.3
For other jars which will be different for each workflow, you can put it in 
workflow lib directory or/and can use file 
tag.https://oozie.apache.org/docs/4.1.0/WorkflowFunctionalSpec.html#a3.2.2.1_Adding_Files_and_Archives_for_the_Job
  
      From: hitarth trivedi <[email protected]>
 To: "[email protected]" <[email protected]> 
 Sent: Wednesday, April 1, 2015 2:10 PM
 Subject: Configure location for custom jar in oozie
   
Hi,

I have multiple workflows in my project and there are many common jars
which all these workflows use. I have these common jars repeated in 'lib'
folders of each of these workflows. I want to avoid this redundancy and
place all the common custom jars in one location and make ooozie add the
common jars for each workflow.

Thanks,
hitrix


  

Reply via email to