From the Oozie CLI I want to do something like this:
oozie job -oozie http://host:port/oozie -config jobConfig.properties, baseConfig.properties -submit
I have a lot of different jobs I'm running where a portion of the .properties file is identical. I'd like to be able to move that duplicated portion into a single baseConfig.properties file, and combine this with the job-specific part when I submit the job.
If the number of overridden properties is small, you can just reference the base config file, and then use the -Dprop1=value
notation for each property you want to customize.
Otherwise i think you have two (possibly three) alternatives (as you can't pass multiple config options to the current OOZIE client):
-config
option, or can handle multiple -config
argument instancesIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With