Acceldata
ODP

Last updated: Oct 16, 2026 16:23 UTC

Configure the Java 17 Flags Automatically Using a Script

This page describes the steps to configure the Java 17 flags automatically using a script.

  1. Clone the Acceldata utility repository and change the directory.
git clone https://github.com/acceldata-io/ce-utils.git
cd ce-utils
cd odp-upgrade-to-3_4_3_0/upgrade_files_343/
  1. Update the credentials, port and protocol if necessary within the file.
  2. Launch the setup script file.
bash ./setup_jdk17_config.sh
  1. Type the JDK version you are upgrading from.
cd ce-utils/odp-upgrade-to-3_4_3_0/upgrade_files_343/

bash ./setup_jdk17_config.sh
 
------------------------------------------------------------
JDK 17 configuration menu - choose a service
------------------------------------------------------------
  1) HDFS, YARN and MapReduce
  2) Infra-Solr
  3) Hive and Tez
  4) HBase (env + log4j2)
  5) Ranger KMS
  6) ZooKeeper (logback)
  7) Pinot (JAVA_HOME)
  8) YARN Spark 3.5.8 shuffle (pre-EU)
------------------------------------------------------------
  A) All services
  Q) Quit (no changes)
------------------------------------------------------------
Enter your selection:

Enter your selection: ⇒ A
  1. Select the option to update the configuration. Once all Done, select Q for quit.
  2. Restart the Ambari Server.
ambari-server restart