Installing Oracle JDK 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 can follow these instructions to install the Oracle JDK.

The Oracle JDK must be installed on all cluster hosts. The Oracle JDK installer is available both as an RPM-based installer for RPM-based systems, and as a .tar.gz file. These instructions are for the RPM-based installation.

  1. Download the latest RPM version of the Oracle JDK for Linux x64 from the support site of Oracle (assuming you have a license for that). It can be either Oracle 1.8 / Oracle 11 versions.
  2. The downloaded RPM will be named as jdk-11_linux-x64_bin.rpm.
  3. Install the rpm by running the following command:
    sudo rpm -ivh jdk-11_linux-x64_bin.rpm
  4. Repeat this procedure on all cluster hosts.
After you have finished, continue to Step 3: Install and configure Databases.