Hortonworks provides a set of configuration files that represent a working Oozie configuration. (See Download Companion Files. You can use these files as a reference point. However, you will need to modify them to match your own cluster environment.
If you choose to use the provided configuration files to set up your Oozie environment, complete the following steps to set up Oozie configuration files:
Extract the Oozie configuration files to a temporary directory. The files are located in the
configuration_files/ooziedirectory where you decompressed the companion files.Add the following property to the
oozie-log4j.propertiesfile:log4j.appender.oozie.layout.ConversionPattern=%d{ISO8601} %5p %c{1}:%L - SERVER[${oozie.instance.id}] %m%nwhere ${oozie.instance.id} is automatically determined by Oozie.
If you have custom Oozie actions, you must define them in oozie-site.xml. Edit the
/etc/oozie/conf/oozie-site.xmlfile and add the following property:<property> <name>oozie.service.SchemaService.wf.ext.schemas</name> <value>[Comma seperated list of custom actions]</value> </property>For example, if you have added Spark Action, enter the following:
<property> <name>oozie.service.SchemaService.wf.ext.schemas</name> <value>spark-action-0.1.xsd</value> </property>Modify the configuration files, based on your environment and database type as described in the following sections.

