Reader small image

You're reading from  Apache Oozie Essentials

Product typeBook
Published inDec 2015
Reading LevelIntermediate
Publisher
ISBN-139781785880384
Edition1st Edition
Languages
Right arrow
Author (1)
Jagat Singh
Jagat Singh
author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh

Right arrow

The config-default.xml file


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>
    <name>oozie.libpath</name>
    <value>hdfs://sandbox.hortonworks.com:8020/user/oozie/share/lib</value>
  </property>
  <property>
    <name>fs...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apache Oozie Essentials
Published in: Dec 2015Publisher: ISBN-13: 9781785880384

Author (1)

author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh