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.

Problem installing an Earlier CDH 5 Release

Problem installing an Earlier CDH 5 Release

New Contributor

Hi,

 

I am trying to install an older version (5.4.5) on Centos 6.6 following the instructions on the page 'Installing an Earlier CDH 5 Release'. The Cloudera Manager installation failed with an 'oracle-j2sdk1.7 installation failed' error. I added the Cloudera Manager repository that contains the oracle-j2sdk1.7 rpm to /etc/yum/repos.d/cloudera-manager.repo:

 

[cloudera-cdh5]
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.4.5/
gpgkey = https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1

 

[cloudera-cm]
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/
gpgkey = https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera
gpgcheck = 1

 

Installation now succeeds but Cloudera Manager only gives me the options to install versions 5.8.2-1 or 4.7.1-1, not 5.4.5.

 

Any ideas?

 

Thanks,

Gijsbert

 

4 REPLIES 4

Re: Problem installing an Earlier CDH 5 Release

Expert Contributor

Hi,

 

In CM UI go to the  "Parcel Settings"  page  (click on the icon that looks like a gift, top right corner, then CONFIGURUATION button)

 

Add this to the list of "Remote Parcel Repository URLs"

 

http://archive.cloudera.com/cdh5/parcels/5.4.5/

 

Save changes  and now you should have this version of CDH availble to install.

 

Tina

Re: Problem installing an Earlier CDH 5 Release

New Contributor

Thanks. FYI, you do not have that Icon when you are in the Express Wizard, but you can click on the 'More Options' button next to the 'Use Parcels (Recommended)' radio button and change the first 'Remote Parcel Repository URLs' to:

 

https://archive.cloudera.com/cdh5/parcels/5.4.5/

 

Also, if you use this option you do not have to create the /etc/yum.repos.d/cloudera-manager.repo as described on the 'Installing an Earlier CDH 5 Release'.

 

Gijsbert

 

Re: Problem installing an Earlier CDH 5 Release

Expert Contributor

Your welcome Gijsbert.  I am glad it worked!

 

Tina

Re: Problem installing an Earlier CDH 5 Release

New Contributor

The installation hang in the 'Installing Selected Parcels' screen. The cloudera-scm-server.log showed that it was looping with the following error message: 'com.cloudera.server.web.cmf.WebController: Unknown parcel CDH-5.8.2-1.cdh5.8.2.p0.3 for cluster Cluster 1'. I think this is caused by using the latest cloudera-manager.bin as described on the page 'Installing an Earlier CDH 5 Release'. The workaround is to download and install the rpm's that cloudera-manager.bin downloads and installs manually for the version that you want to install.

 

The complete instructions are as follows:

 

Allocate at least 2GB of RAM to the VM where you will install cloudera-manager, 1GB is not enough.

Download the oracle-j2sdk, cloudera-manager-daemons, cloudera_manager_server and cloudera-manager-server-db rpm's corresponding to the previous version you would like to install from the associated repository, in my case: http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.4.5/RPMS/x86_64/

 

Install the rpm's:


sudo yum localinstall oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
sudo yum localinstall cloudera-manager-daemons-5.4.5-1.cm545.p0.5.el6.x86_64.rpm
sudo yum localinstall cloudera-manager-server-5.4.5-1.cm545.p0.5.el6.x86_64.rpm
sudo yum localinstall cloudera-manager-server-db-2-5.4.5-1.cm545.p0.5.el6.x86_64.rpm

 

Start the services:


sudo service cloudera-scm-server-db start
sudo service cloudera-scm-server start

 

Make sure your hosts file entries have the FQDN first (I was using the same convention as the localhost entries, so FQDN last), otherwise you will get agent heartbeat errors after installation, in my case:

 

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.16.6.127 centos68int127.localdomain centos68int127
172.16.6.128 centos68int128.localdomain centos68int128
172.16.6.129 centos68int129.localdomain centos68int129
172.16.6.130 centos68int130.localdomain centos68int130

 

Wait until there is a listener on port 7180, login to http:://localhost:7180 and start the installation, modifying the 'Remote Parcel Repository URLs' as described above.

 

Gijsbert

 

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