Installing OpenJDK for CDP Runtime
This section is optional. The CDP Runtime requires a JDK to be installed on all cluster hosts prior to Cloudera Manager and Runtime installation. Cloudera Manager can automatically install an OpenJDK that has been pre-packaged by Cloudera. This OpenJDK provided by Cloudera may not be the latest version.
If you do not want to use the OpenJDK provided by Cloudera, you must install a JDK of your choice on all hosts in the cluster. These instructions describes how to install the OpenJDK package provided by your Operating System Vendor.
Manually install a supported JDK on all cluster hosts before installing Cloudera software.
Please see the Cloudera Support Matrix for detailed information about supported JDKs.
jre/lib/security/cacerts
.- The package names used when installing the OpenJDK 8*, OpenJDK 11*, and OpenJDK 17* are different and are noted in the steps below.
- The path for the default truststore has changed from (OpenJDK 8*)
jre/lib/security/cacerts
to (OpenJDK 11*)lib/security/cacerts
- The path to default truststore for OpenJDK 17* is
lib/security/cacerts
- See the following blog post for general information about migrating to Java 11: All You Need to Know For Migrating To Java 11.
- See the following blog post for general information about migrating to Java 17: Migrate to Java 17.
You must install a supported version of OpenJDK. If your deployment uses a version of OpenJDK lower than 1.8.0_181, see TLS Protocol Error with OpenJDK.