12-18-2018 03:56 PM
In the Cloudera Installation guide ver 5.16 it says the JDK must be installed at /usr/java/jdk-version.
However while installing openJDK it gets installed as:
/usr/bin/java -> /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-126.96.36.199.b12-1.el7_6.x86_64/jre/bin/java
there is no /usr/java created. Is this going to cause any install issues?
12-19-2018 03:49 AM - edited 12-19-2018 03:50 AM
Cloudera is always recommending to install supported version of Oracle JDK and not Open JDK.
But if you want to go with Open JDK , you can simply have symbolic link created on suggested path.
12-19-2018 05:13 AM
As of CDH 5.16 version openJDK is now supported you can read in the 5.16 Install guide. This may be due to Oracle will no longer provide updates to Oracle JDK without commercal license from 2019.
12-19-2018 01:56 PM
Indeed it is listed in:
OpenJDK 8 is supported in Cloudera Enterprise 6.1.0 and higher, as well as Cloudera Enterprise 5.16.1 and higher.
This documentation explains how to configure the java location:
Servers and clients will attempt to find Java in "usual" locations for your OS. If it cannot find Java or you want to be sure the correct jdk is used, you can use the above guide to set the jdk location.
12-19-2018 02:23 PM