How to Install Cumulative Hotfix (CHF)

You can upgrade CDP 7.1.7, CDP 7.1.7 SP1, CDP 7.1.7.SP2, CDP 7.1.7.SP3, CDP 7.1.8, CDP 7.1.9 SP1 and so on with the CHFs available. Cumulative Hotfix is a collection of hotfixes. You can use the same procedure to install hotfixes as well.

To upgrade the CDP cluster with the CHF or a hotfix:

  1. Log in to the Cloudera Manager Admin Console.
  2. Click Parcels from the left menu.
  3. Click Parcel Repositories & Network Settings.
  4. In the Remote Parcel Repository URLs section, click the "+" icon and add the CHF URL for your Parcel repository.
  5. Click Save & Verify Configuration. A message with the status of the verification appears above the Remote Parcel Repository URLs section. If the URL is not valid, check the URL and enter the correct URL.
  6. After the URL is verified, click Close.
  7. Locate the row in the table that contains the new Cloudera Runtime parcel and click the Download button.
  8. After the download of the new Cloudera Runtime CHF parcel is complete, click the Distribute button.

    Wait for the parcel to be distributed and unpacked before continuing. Cloudera Manager displays the status of the Cloudera Runtime CHF parcel distribution. Click on the status display to view detailed status for each host.

  9. Click Activate. Cloudera Runtime CHF parcels are activated on the cluster.
  10. When the parcel is activated, click the Cloudera Manager logo to return to the home page.

    The cluster is now updated with the CHF you applied.

  11. When the parcel is activated, click the Actions menu next to the cluster name and select Post Cloudera Runtime Upgrade.
  12. Restart the cluster: Click the Actions menu and select Restart.

Mapreduce and Tez framework archives

As a post-upgrade step, you must check that location in HDFS to ensure that it is the latest version, and run the following if it does not:
hdfs dfs -ls /user/yarn/mapreduce/mr-framework/
If only the old version's tar file exists there, such as:
/user/yarn/mapreduce/mr-framework/3.1.1.7.1.7.78-12-mr-framework.tar.gz
Then perform the following: Cloudera Manager > Yarn > Actions > Install YARN MapReduce Framework JARs.You can clear out the old tar file after this is done for keeping it clean.
Tez MR Framework JARs and Oozie Sharelib entities must be examined in the similar manner. Check that location in HDFS to ensure that it is the latest version, and run the following if it does not:
  1. Cloudera Manager > Yarn > Actions > Install YARN MapReduce Framework JARs
  2. Cloudera Manager > Tez > Actions > Upload Tez tar file to HDFS
  3. Cloudera Manager > Oozie > Actions > Install Oozie ShareLib
Clear any old files out of these directories:
  1. hdfs dfs -ls -R /user/yarn/mapreduce/mr-framework/
  2. hdfs dfs -ls -R /user/tez/
  3. hdfs dfs -ls /user/oozie/share/lib/