Skip to main content
ChineduLB
Silver ⭐️⭐️⭐️
February 17, 2019
Solved

Oracle-j2sdk1.8 installation failed - Cloudera Manger Install

Hi I am trying to install cloudera manger on RHEL 7

 

I keept getting this error.

 

I have tried local repository and I get same thing

 

oracle-j2sdk1.8 installation failed. See /var/log/cloudera-manager-installer/1.install-oracle-j2sdk1.8.log for details. Click OK to revert this installation.

 

Error from Log:

----------------------

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
Resolving Dependencies
--> Running transaction check
---> Package oracle-j2sdk1.8.x86_64 0:1.8.0+update141-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
oracle-j2sdk1.8 x86_64 1.8.0+update141-1 cloudera-manager 176 M

Transaction Summary
================================================================================
Install 1 Package

Total download size: 176 M
Installed size: 359 M
Downloading packages:
No Presto metadata available for cloudera-manager
https://archive.cloudera.com/cm6/6.1.0/redhat7/yum/RPMS/x86_64/oracle-j2sdk1.8-1.8.0%2Bupdate141-1.x86_64.rpm: [Errno 14] curl#56 - "SSL received a record with an incorrect Message Authentication Code."
Trying other mirror.


Error downloading packages:
oracle-j2sdk1.8-1.8.0+update141-1.x86_64: [Errno 256] No more mirrors to try.

Gokul
GokulAnswer
Gold ⭐️
February 20, 2019

This usually indicates that the client and server have failed to come to agreement on the set of keys used to encrypt the application data and to check message integrity.

 

Are you behind a proxy?

Do you use ntp and is the system time correct?

Verify these things, run "yum clean all" and try again. If the error persists, post your /etc/yum.repos.d/cloudera.repo

18 replies

Gokul
Gold ⭐️
GokulAnswer
Gold ⭐️
February 20, 2019

This usually indicates that the client and server have failed to come to agreement on the set of keys used to encrypt the application data and to check message integrity.

 

Are you behind a proxy?

Do you use ntp and is the system time correct?

Verify these things, run "yum clean all" and try again. If the error persists, post your /etc/yum.repos.d/cloudera.repo

Translate
ChineduLB
ChineduLBAuthor
Silver ⭐️⭐️⭐️
March 1, 2019

I have a little netgear unmanaged switch that I'm using to extend my local lan. Looks like that switch was causing the problem, tho the docs insist its a simple pass-thru.

 

anyways, connected via my wifi to the ISP router and all is well... Thanks

Translate
anis447
Gold ⭐️
May 13, 2019
Great!
Now why I am still seeing java 1.7 in the Cloudera Manager and when “Java -version”.
By the way I am using the Cloudera quickstart vm. And I am doubting that there is something that forces java 1.7 and even reset JAVA_HOME to the 1.7 folder on every restart ... am I right?

What to do next?
Translate
gzigldrum
Gold ⭐️
Gold ⭐️
May 13, 2019

The Quickstart VM is a especially tailored CM/CDH cluster installation on a single VM. If you attempt to upgrade this to 6.x you will encounter a lot of issues. I personally would recommend doing a native installation of 6.2 instead.

 

But if you want to continue on that route, the CM server process needs to be configured to start up with this JDK installation, see step 4 in Manually Migrating from Oracle JDK to OpenJDK

Translate
anis447
Gold ⭐️
May 14, 2019

OK I have chosen to install Cloudera 6.2 from scratch.

 

Now when I run 

sudo apt-get install oracle-j2sdk1.8

it completes successfully.... however after it finishes I can't find any java folder under /usr !!

 

And when I move to the next step of enabling auto-TLS, and run 
 

sudo JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera /opt/cloudera/cm-agent/bin/certmanager setup --configure-services

 

I get the following exception

Exception: Cannot identify a valid keytool: /usr/java/jdk1.8.0_181-cloudera/bin/keytool

and when i "java --version"  i get 

The program 'java' can be found in the following packages:
* default-jre
* gcj-5-jre-headless
* openjdk-8-jre-headless
* gcj-4.8-jre-headless
* gcj-4.9-jre-headless
* openjdk-9-jre-headless
Try: sudo apt install <selected package>

Translate