Step 2: Install Java Development Kit
Step 1: Configure a Repository for Cloudera Manager
Step 2: Install Java Development Kit
Step 3: Install Cloudera Manager Server
Step 4: Install and Configure Databases for Cloudera Software
Step 5: Set up the Cloudera Manager Database
Step 6: Install CDH and Other Software Using the Wizard
Step 7: Set Up a Cluster Using the Wizard
To install the Oracle JDK, you can either install the version provided by Cloudera using Cloudera Manager, or a different version directly from Oracle.
Continue reading:
Requirements
- The installed JDK must be a supported version as documented in Java Requirements.
- The same version of the Oracle JDK must be installed on each cluster host.
- The JDK must be installed at /usr/java/jdk-version.

- The RHEL-compatible and Ubuntu operating systems supported by Cloudera Enterprise 6 all use AES-256 encryption by default for tickets. To support AES-256 bit encryption, you must install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy File on all cluster and Hadoop user machines. Cloudera Manager can automatically install the policy files, or you can install them manually. For JCE Policy File installation instructions, see the README.txt file included in the jce_policy-x.zip file.
- On SLES platforms, do not install or try to use the IBM Java version bundled with the SLES distribution. CDH does not run correctly with that version.
Installing the JDK Using Cloudera Manager

After completing Step 1: Configure a Repository for Cloudera Manager, you can install the Oracle JDK on the Cloudera Manager Server host using yum as follows:
sudo yum install oracle-j2sdk1.8
You can use Cloudera Manager to install the JDK on the remaining cluster hosts in an upcoming step. Continue to Step 3: Install Cloudera Manager Server.
Installing the JDK Manually
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 .tar.gz file.
- Download the .tar.gz file for one of the 64-bit supported versions of the Oracle JDK from Java SE 8 Downloads or Java SE 7 Downloads. (These links are correct at the time of writing but change frequently.)
- Extract the JDK to /usr/java/jdk-version; for example: /usr/java/jdk.1.8.0_<update_version>, where <update_version> is a supported version.
- Repeat this procedure on all cluster hosts. After you have finished, continue to Step 3: Install Cloudera Manager Server.
- Set JAVA_HOME to the directory where the JDK is installed. Add the following line to the specified files:
export JAVA_HOME=/usr/java/jdk.1.8.0_<update_version>
- Cloudera Manager Server host: /etc/default/cloudera-scm-server. This affects only the Cloudera Manager Server process, and does not affect the Cloudera Management Service roles or CDH service roles. Cloudera Manager handles setting the JAVA_HOME environment variable for managed services.
- All hosts in an unmanaged deployment: /etc/default/bigtop-utils. You do not need to do this for clusters managed by Cloudera Manager.
- Follow the instructions in Configuring a Custom Java Home Location. This change affects all CDH processes and Cloudera Management Service roles in the cluster.

<< Step 1: Configure a Repository for Cloudera Manager | ©2016 Cloudera, Inc. All rights reserved | Step 3: Install Cloudera Manager Server >> |
Terms and Conditions Privacy Policy |