December 2015
Beginner to intermediate
164 pages
3h 7m
English
So far, we have done lots of code duplication. We copied the same properties again and again in the property files. Oozie has a concept of config-default.xml, which can be used to store such properties. This file is present in the folder where workflow.xml is present, and it is automatically parsed for properties. From now onwards, we will use the config-default.xml file for all the properties that are common. This file is optional but highly recommended to avoid code duplication. Anything that is common to all Workflows, for example, cluster details, should be added to config-default.xml:
# default-config.xml <configuration> <property> <name>oozie.use.system.libpath</name> <value>True</value> </property> <property> ...
Read now
Unlock full access