How can I cleanly uninstall CDH5 beta 1 and install CDH4?
When I run cloudera-manager-installer.bin (FROM CDH4) it fatal errors in
and tries to download cdh5b1 rpms and not cdh4 rpms.
Here's how I uninstalled:
==================
1. I shutdown all the services (verified the PIDs).
2 Then I ran the /usr/share/cmf/uninstall_cloudera.sh script
2. Then I still had to manually remove a bunch of stuff from every node.
e.g.:
a. /opt/cloudera/
b. all the symlinks in /etc/alternatives/ that point to /opt/cloudera
c. the cdh5 repo files in /etc/yum.repos.d/
d. all the log directories under /var/log/
ls -1d /var/log/*|egrep
"cloudera|hadoop|hive|hbase|impala|oozie|solr|sqoop|yarn|zoo"
e. removed the cloudera-related users cloudera-scm, hdfs, hive, hbase,
mapred, sqoop,
After all that, I still get this when running cloudera-manager-installer.bin
[root@node1 ~]# cat
/var/log/cloudera-manager-installer/3.install-cloudera-manager-server.log
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id,
: refresh-packagekit, security, subscription-manager, tmprepo,
: verify, versionlock
Updating certificate-based repositories.
Loading support for Red Hat kernel ABI
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-server.x86_64 0:5.0.0-0.cm5b1.p0.77.el6 will
be installed
--> Processing Dependency: cloudera-manager-daemons = 5.0.0 for package:
cloudera-manager-server-5.0.0-0.cm5b1.p0.77.el6.x86_64
--> Running transaction check
---> Package cloudera-manager-daemons.x86_64 0:5.0.0-0.cm5b1.p0.77.el6 will
be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
cloudera-manager-server x86_64 5.0.0-0.cm5b1.p0.77.el6 cloudera-manager
7.7 k
Installing for dependencies:
cloudera-manager-daemons x86_64 5.0.0-0.cm5b1.p0.77.el6 cloudera-manager
174 M
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 174 M
Installed size: 240 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 174 M
http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/RPMS/x86_64/cloudera-manager-daemons-5.0.0-0.cm5b1.p0.77.el6.x86_64.rpm:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/RPMS/x86_64/cloudera-manager-server-5.0.0-0.cm5b1.p0.77.el6.x86_64.rpm:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error Downloading Packages:
cloudera-manager-daemons-5.0.0-0.cm5b1.p0.77.el6.x86_64: failure:
RPMS/x86_64/cloudera-manager-daemons-5.0.0-0.cm5b1.p0.77.el6.x86_64.rpm
from cloudera-manager: [Errno 256] No more mirrors to try.
cloudera-manager-server-5.0.0-0.cm5b1.p0.77.el6.x86_64: failure:
RPMS/x86_64/cloudera-manager-server-5.0.0-0.cm5b1.p0.77.el6.x86_64.rpm from
cloudera-manager: [Errno 256] No more mirrors to try.
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.