ansible-role-hadoop-cdh/templates/cloudera-scm-server.default.j2

25 lines
862 B
Django/Jinja

#
# Specify any command line arguments for the Cloudera SCM Server here.
#
CMF_SERVER_ARGS="{{ cdh_cmf_server_args }}"
#
# Locate the JDBC driver jar file.
#
# The default value is the default system mysql driver on RHEL/CentOS/Ubuntu
# and the standard, documented location for where to put the oracle jar in CM
# deployments.
#
# export CMF_JDBC_DRIVER_JAR="/usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar"
export CMF_JDBC_DRIVER_JAR="{{ cdh_cmf_jdbc_pg_driver }}"
#
# Java Options.
#
# Default value sets Java maximum heap size to 2GB, and Java maximum permanent
# generation size to 256MB.
# Note that Java 8 removed PermGen, but the CDM server refuses to start if it is not defined, and bigger than 128M
export CMF_JAVA_OPTS="{{ cdh_cmf_java_opts }} -XX:MaxPermSize=512M"