Upgrading CDH using Cloudera Manager
In this tutorial, we will see upgrading cluster from CDH 5.4.2 to CDH 5.4.7
Cloudera Manager 5 supports clusters running CDH 4 and CDH 5.
To ensure the highest level of functionality and stability, consider upgrading to the most recent version of CDH.
This cluster is installed using parcels.
As Cloudera says, for an easier upgrade experience, consider switching from packages to parcels so Cloudera Manager can automate more of the process.
A benefit of Cloudera Enterprise license:
If you use parcels and have enabled HDFS high availability, you can perform a rolling upgrade that lets you avoid cluster downtime.
Login to Cloudera Manager and run Host Inspector
Login from command line interface and run “hadoop fsck / ” to ensure no problem with filesystem check.
Run “hadoop dfsadmin -report” just to ensure everything is working fine.
You can turn on Maintenance mode of your cluster before starting upgrade as it will stop alerts from being sent.
Be sure to exit maintenance mode when you have finished the upgrade just to enable Cloudera manager alerts.
There are two ways to upgrade your cluster:
1.Upgrading to CDH Maintenance Releases Using Parcels
Before proceeding please take a backup of Cloudera Manager database
Learn how to take Backup of Cloudera Manager database which uses PostgreSQL
Login to Cloudera Manager and run upgrade wizard.