Support Questions

Find answers, ask questions, and share your expertise

OpenJDK 1.8 Support in CDH 6

avatar
Explorer

Hello

 

The documentation for upgrading/migrating the JDK shows installing Java OpenJDK 1.8 using the package manager and therefore from the OS repositories, which for Redhat/CentOS 7 is:

 

su -c yum install java-1.8.0-openjdk-devel

 

Does this mean that the whichever version (1.8.0.191 at time of writing) and all future versions of OpenJDK 1.8 are supported for Cloudera Manager and CDH 6.x?

 

The above command is taken from the documentation here: https://www.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html

 

Thanks,

JG

1 ACCEPTED SOLUTION

avatar
Expert Contributor

The page you've referenced cross-links to the one shown below. At the time of this writing we have only certified 1.8u181. Newer version may work without issue and generally support them but we have not certified any releases beyond what is shown on the page at this time.

 

https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_java_requirements.html#j...

---
Customer Operations Engineer | Security SME | Cloudera, Inc.

View solution in original post

3 REPLIES 3

avatar
Expert Contributor

The page you've referenced cross-links to the one shown below. At the time of this writing we have only certified 1.8u181. Newer version may work without issue and generally support them but we have not certified any releases beyond what is shown on the page at this time.

 

https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_java_requirements.html#j...

---
Customer Operations Engineer | Security SME | Cloudera, Inc.

avatar
Explorer

Thanks for the clarification, the Java requirements page is clear with tested and recommended versions. Would it make sense to include "1.8.0-<update_version>" on the upgrading JDK page?

 

I installed Java OpenJDK 1.8.0 on Redhat/CentOS 7 as follows:

 

su -c yum install java-1.8.0-openjdk-1.8.0.181 java-1.8.0-openjdk-devel-1.8.0.181 java-1.8.0-openjdk-headless-1.8.0.181

 

Then I added exclude=java-1.8.0-openjdk* to /etc/yum.conf.

avatar
Expert Contributor

HI,

 

It's not uncommon for our documentaion team to cross-link pages to avoid duplication within our documentation. However with that said I'll pass your feedback along to our documentation team. 

---
Customer Operations Engineer | Security SME | Cloudera, Inc.