Skip to main content
juliang
Silver ⭐️
January 16, 2019
Solved

OpenJDK 1.8 Support in CDH 6

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

lhebert
lhebertAnswer
Gold ⭐️
January 16, 2019

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#java_requirements

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

3 replies

lhebert
Gold ⭐️
lhebertAnswer
Gold ⭐️
January 16, 2019

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#java_requirements

Translate
--- Customer Operations Engineer | Security SME | Cloudera, Inc.
juliang
juliangAuthor
Silver ⭐️
January 17, 2019

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.

Translate
lhebert
Gold ⭐️
Gold ⭐️
January 18, 2019

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. 

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