Oozie

Update the Oozie Java 17 flags as shown below.

Advanced oozie-env -> oozie-env

File location: Log into the Ambari UI → OozieConfigsAdvanced oozie-env -> oozie-env

#!/bin/bash if [ -d "/usr/lib/bigtop-tomcat" ]; then export OOZIE_CONFIG=${OOZIE_CONFIG:-{{conf_dir}}} export CATALINA_BASE=${CATALINA_BASE:-{{oozie_server_dir}}} export CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie} export OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat fi #Set JAVA HOME export JAVA_HOME={{java_home}} export JRE_HOME=${JAVA_HOME} # Set Oozie specific environment variables here. # Settings for the Embedded Tomcat that runs Oozie # Java System properties for Oozie should be specified in this variable # {% if java_version < 8 %} export CATALINA_OPTS="$CATALINA_OPTS -Xmx{{oozie_heapsize}} -XX:MaxPermSize={{oozie_permsize}}" {% else %} export CATALINA_OPTS="$CATALINA_OPTS -Xmx{{oozie_heapsize}}" {% endif %} # Oozie configuration file to load from Oozie configuration directory # # export OOZIE_CONFIG_FILE=oozie-site.xml # Oozie logs directory # export OOZIE_LOG={{oozie_log_dir}} # Oozie pid directory # export CATALINA_PID={{pid_file}} # Oozie pid file export JETTY_PID_FILE={{oozie_pid_dir}}/oozie.pid #Location of the data for oozie export OOZIE_DATA={{oozie_data_dir}} # Oozie Log4J configuration file to load from Oozie configuration directory # # export OOZIE_LOG4J_FILE=oozie-log4j.properties # Reload interval of the Log4J configuration file, in seconds # # export OOZIE_LOG4J_RELOAD=10 # The port Oozie server runs # export OOZIE_HTTP_PORT={{oozie_server_port}} # The admin port Oozie server runs # export OOZIE_ADMIN_PORT={{oozie_server_admin_port}} # The host name Oozie server runs on # # export OOZIE_HTTP_HOSTNAME=`hostname -f` export OOZIE_BASE_URL={{oozie_base_url}} # The base URL for callback URLs to Oozie # # export OOZIE_BASE_URL="http://${OOZIE_HTTP_HOSTNAME}:${OOZIE_HTTP_PORT}/oozie" export JAVA_LIBRARY_PATH={{hadoop_lib_home}}/native/Linux-{{architecture}}-64 # At least 1 minute of retry time to account for server downtime during # upgrade/downgrade export OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 " {% if sqla_db_used or lib_dir_available %} export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:{{jdbc_libs_dir}}" export JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:{{jdbc_libs_dir}}" {% endif %} {% if java_version > 11 %} export JETTY_OPTS="${JETTY_OPTS} {{jvm_flags}} -Dorg.eclipse.jetty.util.ssl.SslContextFactory.class=org.eclipse.jetty.util.ssl.SslContextFactory$Server" {% endif %}

Custom oozie-site -> jvm_flags

File location: Log into the Ambari UI → OozieConfigsCustom oozie-site -> jvm_flags

--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED


  Last updated