We plan on a blue-green migration of a CDH cluster from CentOS6-; 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?
The documentation below provides the detailed steps to upgrade/setup JDK on CM and CDH:
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.
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?
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:
For Cloudera Manager, you can use step 5 from below instruction:
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!
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.