Configure the Java 17 Flags Automatically Using a Script
This page describes the steps to configure the Java 17 flags automatically using a script.
- 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/
- Update the credentials, port and protocol if necessary within the file.
- Launch the setup script file.
bash ./setup_jdk17_config.sh
- 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- Select the option to update the configuration. Once all Done, select Q for quit.
- Restart the Ambari Server.
ambari-server restart
Have a suggestion?