My Oracle Support Banner

Steps to Upgrade the JDK on an Oracle Big Data Service on OCI CDH Cluster (Doc ID 2903039.1)

Last updated on APRIL 17, 2023

Applies to:

Big Data Service on OCI - Version N/A and later
Linux x86-64


This document provides generic steps for upgrading the JDK on an Oracle Big Data Service on OCI (BDS) with CDH cluster to a higher release. 


BDS with CDH users wanting to upgrade the JDK to the latest supported release.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Download the rpm based jdk1.8.0_<latest_version> from from Technet(OTN) and copy the file to the BDS MN0 node at any location you choose.
 Verify current BDS with CDH and JDK versions
 Confirm the BDS with CDH cluster is healthy
 Installing the Higher JDK Version
 In CM stop CDH cluster services and CM mgmt services.
 Copy the jdk-8u<latest_version>-linux-x64.rpm downloaded to the MN0 node of the cluster to all nodes to any staging location
 Install the latest JDK
 When the installation is complete /usr/java/jdk1.8.0_<latest_version> will be present
 Stop the Cloudera Manager agent and server services
 Update the JDK 1.8.0_<latest_version> with the correct policy files, local_policy.jar and US_export_policy.jar
 Change the "latest" symlink link /usr/java/latest to point to the new version if necessary
 Check the links to the java executables and update the links to the java executables if necessary
 If any changes have been made to any of the $JAVA_HOME/jre/lib/security/cacerts files or to any of the $JAVA_HOME/jre/lib/security/jssecacerts files then those file need to be copied from the original Java home to the new Java home
 Update the Cloudera Manager Server configuration file /etc/default/cloudera-scm-server to to set JAVA_HOME to /usr/java/default if it is not already done
 Start the Cloudera Manager server and agent services
 In Cloudera Manager start the mgmt and cluster services. Then deploy the client configuration
 Make sure the Cloudera Manager 'Java Home Directory' property is set to /usr/java/default
 Post Install Verifications
 Verify cluster is in "Good" health in CM
 Run cluster checker utility
 Verify the java version
 If you want to check the JDK version on JDK 8 and higher use the following
 Verify that the alternatives for java and javac are picking up the latest version i.e. the version which was just installed, if necessary.
 Verify that the alternatives are set to auto
 Check the alternatives for java and javac are picking up the latest version i.e. the one just installed
 Verify the Java used by Cloudera Manager is updated
 Verify the Java used by the Cloudera Manager Management Services is updated
 Ensure Cloudera Manager Server will pick up the latest version of java
 Post Install Steps

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.