JDK Requirements
The entire CDH cluster, including Cloudera Data Science Workbench gateway hosts, must use the same version of JDK.
-
Oracle JDK 7 is supported across all versions of Cloudera Manager 5 and CDH 5. Oracle JDK 8 is supported in Cloudera Enterprise 5.3.x and higher. Note the JDK 8 Requirement for Spark 2.2 (or higher).
-
OpenJDK 8 is supported in Cloudera Enterprise 5.16.1 and higher. OpenJDK 7 is not supported.
-
For Red Hat/CentOS deployments in particular, Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction must be enabled on the Cloudera Data Science Workbench gateway hosts.
For more specifics on the versions of Oracle JDK and OpenJDK recommended for CDH and Cloudera Manager clusters, and instructions on how to install the Java Cryptography Extension, see the Cloudera Product Compatibility Matrix.
JDK 8 Requirement for Spark 2.2 (or higher)
CSD-based deployments:
To upgrade your entire CDH cluster to JDK 1.8, see Upgrading to Oracle JDK 1.8.
Package-based deployments:
Set JAVA_HOME
to the
JDK 8 path in cdsw.conf
during the
installation process. If you need to modify JAVA_HOME
after the fact, restart the master and worker hosts to have the
changes go into effect.