Skip to content

0.7.3 Upgrade CDH to 5.7.1

Daniel Smith edited this page Oct 20, 2016 · 2 revisions

Upgrade CDH to 5.7.1

For the most current upgrade guidelines, check the CDH Upgrade instructions here.

Remember to backup your data before upgrading CDH.

  1. Navigate to the CDH home page (this is usually at: cdh-master-2:7180) and ensure all CDH services are reporting as healthy.
  2. Stop the cluster:

It should look like this when stopped:

  1. SSH to the Cloudera Manager node (cdh-master-2).
  2. Delete Kafka CSD:
sudo rm /opt/cloudera/csd/KAFKA-1.2.0.jar
  1. Stop Cloudera Manager services:
sudo service cloudera-scm-server stop
sudo service cloudera-scm-server-db fast_stop
sudo service cloudera-scm-agent stop
  1. Update krb5kdc - Only for clusters with Kerberos enabled
sudo service krb5kdc stop
wget http://krb5jwt.s3-website-us-east-1.amazonaws.com/kerberos-jwt-1.3.zip
sudo unzip -od / kerberos-jwt-1.3.zip
sudo service krb5kdc start
  1. Upgrade Cloudera Manager.
  • Change the Cloudera Manager repository path:

sudo sed -i.bak "s/5.5.1/5.7.1/g" /etc/yum.repos.d/cloudera-manager.repo ```

  • Upgrade packages:

sudo yum clean all sudo yum upgrade cloudera-manager-server cloudera-manager-daemons cloudera-manager-agent sudo service cloudera-scm-server-db start sudo service cloudera-scm-server start sudo service cloudera-scm-agent start ```

  • Wait 1-2 minutes for Cloudera Manager to start listening on port 7180.

  • Navigate to the CDH home page and update Cloudera Manager Agents:

    Private key file for the next step can be found on JumpBox. Path to the file: /root/.ssh/id_rsa.

  • For the next wizard, you do not need to change anything.

  • After updating, the services in the cluster should look like this:

  1. Click and . Add the new parcel url http://archive.cloudera.com/cdh5/parcels/5.7.1/ in the configuration window:

  2. Click again on and update the HGM parcel to version 1.3:

  1. Upgrade the cluster:

  1. View of cluster upgraded to version 5.7.1:

  1. It would be good to remove old CDH 5.5.1 parcels from hosts, then delete them using the CDH webUI interface.
Clone this wiki locally