Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

JDK upgrade on a Single CDH cluster, when CM manages several Clusters

Highlighted

JDK upgrade on a Single CDH cluster, when CM manages several Clusters

New Contributor

We plan on a blue-green migration of a CDH cluster from CentOS6-[7]; CDH 5.7-[6.3.3]; jdk 8-[openjdk11]. The cluster is managed by a CM that also manages several other clusters which will continue on jdk8. 
Is it supported to manage a cluster with nodes on jdk11 from a CM with jdk8? 

4 REPLIES 4
Highlighted

Re: JDK upgrade on a Single CDH cluster, when CM manages several Clusters

Super Collaborator

Hi @KokaN,

 

The documentation below provides the detailed steps to upgrade/setup JDK on CM and CDH:

https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html

As the doc points out, you will need to upgrade CM first to 6.3 and above in order to support openjdk11.

 

Hope this helps.

Li

Li Wang, Technical Solution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Highlighted

Re: JDK upgrade on a Single CDH cluster, when CM manages several Clusters

New Contributor

Hello Li, yes we plan to upgrade the CM version to 6.3 before we add a CDH6.3.x cluster. Will the CM server of oracle jdk8 support a new openjdk 11 cluster that it would need to manage?

 

-Nithya 

Highlighted

Re: JDK upgrade on a Single CDH cluster, when CM manages several Clusters

Super Collaborator

Hi @KokaN ,

 

Do you have CDH roles installed on CM server? We recommend to keep only one version of Oracle JDK installed on cluster nodes to avoid any confusion due to mixed JDK versions being used within the cluster. The CM / CDH startup scripts auto-detect JDK during startup. If you need to configure a custom JDK location, then you can following instructions provided below for CDH roles:

https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html#cmig_topic_16

For Cloudera Manager, you can use step 5 from below instruction:

https://docs.cloudera.com/documentation/enterprise/upgrade/topics/ug_jdk8.html#concept_jkh_k4l_tdb

Be aware that setting the custom Java Home Location is a cluster wide setting, means that every role instance restarted after this setting is changed will be picking the new JDK location.

 

Hope this helps!

Li Wang, Technical Solution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Highlighted

Re: JDK upgrade on a Single CDH cluster, when CM manages several Clusters

New Contributor

No CDH roles on the CM server. This will be a new cluster with openjdk11 managed by a CM server with oracle jdk8. Sounds like that should work and be supported, keeping the cluster nodes and cluster settings consistent. 

 

Thanks, 
-Nithya 

Don't have an account?
Coming from Hortonworks? Activate your account here