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.

Fresh Cloudera Manager 4.7.2 brought Java 1.7 to our cluster and replaced Java 1.6. It's a pain

Solved Go to solution

Fresh Cloudera Manager 4.7.2 brought Java 1.7 to our cluster and replaced Java 1.6. It's a pain

Expert Contributor

Hi, we did upgrade Cloudera Manager from 4.6.3 to 4.7.2 on our UAT env. And Cloudera Manager did completely remove Java 1.6 and palced Java 1.7We are using Java 1.6.x and we don't want 1.7 because our Storm online procissing in not fully tested with java 1.7

 
Is there any possibility to forbid Cloudera Manager to install Java 1.7 and use existing one: 1.6.x?
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Fresh Cloudera Manager 4.7.2 brought Java 1.7 to our cluster and replaced Java 1.6. It's a pain

Super Collaborator

Per e-mail thread discussion 1.7 JDK was manually added before cluster upgrade, and was present within custom local yum repo at the site.

 

CM/CDH will pick the later JDK present to use.  Per Phillp L:

 

Yes. We ask yum to install jdk and if yum decides that it's appropriate to install a newer version of jdk than is already installed, that is what it will do.

 
If you want to keep a package on a particular version, even if a newer version is available in a repo, there is a way to make yum do that:
 
 

 

 

1 REPLY 1

Re: Fresh Cloudera Manager 4.7.2 brought Java 1.7 to our cluster and replaced Java 1.6. It's a pain

Super Collaborator

Per e-mail thread discussion 1.7 JDK was manually added before cluster upgrade, and was present within custom local yum repo at the site.

 

CM/CDH will pick the later JDK present to use.  Per Phillp L:

 

Yes. We ask yum to install jdk and if yum decides that it's appropriate to install a newer version of jdk than is already installed, that is what it will do.

 
If you want to keep a package on a particular version, even if a newer version is available in a repo, there is a way to make yum do that: