Appendix: cdap-site.xml and cdap-default.xml

Appendix: cdap-site.xml and cdap-default.xml

TheĀ cdap-site.xmlĀ file is the configuration file for a CDAP installation. Its properties and values determine the settings used by CDAP when starting and operating.

Any properties not found in an installation'sĀ cdap-site.xmlĀ will use a default parameter value defined in the fileĀ cdap-default.xml. It is located in the CDAP JARs and should not be altered.

You can find all of the available parameters in CDAP git:

https://github.com/cdapio/cdap/blob/release/<version>/cdap-common/src/main/resources/cdap-default.xml

For example, to see all of the available parameters in CDAP 6.7: https://github.com/cdapio/cdap/blob/release/6.7/cdap-common/src/main/resources/cdap-default.xml

Any of the default values (with the exception of those markedĀ [Final]) can be overridden by defining a modifying value in theĀ cdap-site.xmlĀ file, located (by default) either inĀ <CDAP-HOME>/conf/cdap-site.xmlĀ (CDAP Sandbox) orĀ /etc/cdap/conf/cdap-site.xmlĀ (Distributed CDAP).

Notes

  • [Final]:Ā Properties marked asĀ [Final]Ā indicates that their value cannot be changed, even with a setting in theĀ cdap-site.xml.

  • Kafka Server:Ā All properties that begin withĀ kafka.server.Ā are passed to the CDAP Kafka service when it is started.

  • Security:Ā For information on configuring theĀ cdap-site.xmlĀ file, itsĀ security section, and CDAP for security, see the documentationĀ SecurityĀ section.

Comments

Created in 2020 by Google Inc.