How to Register Target Version and Perform an Ambari Managed HDF Upgrade
Objective
This tutorial demonstrates how to upgrade HDF from version 3.0.0 to 3.0.1.1 via the Ambari-managed Express Upgrade.
Note: Additional documentation for HDF 3.0.1.1 upgrade can be found here.
Environment
This tutorial was tested using the following environment and components:
- Ambari 2.5.1
- HDF 3.0.0
Initial Configuration
Prerequisites
This tutorial assumes your HDF cluster is in a healthy state and that all preqrequisites for Ambari upgrade have been met.
Upgrade Steps
Register Target Version
1. Select "Manage Ambari" from the Admin tab:

2. Select "Versions" from the Clusters section:

3. Select the "Register Version" button:

4. Select "HDF-3.0" from the listed versions:

5. Enter the proper extension in the Name field, "HDF-3.0.1.1". Remove any OS's that are not relevant for your cluster. For your OS, add the proper HDF-3.0.1.1 base URL. For my CentOS7 enviro, it was: http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.0.1.1/tars/hdf_ambari_mp/hdf-ambari-mpack-3.0.1.1-5.tar.gz which was found in the 3.0.1.1 Release Notes.

6. Select "Save". HDF-3.0.1.1 is now registered but not yet installed.

Install HDF 3.0.1.1
7. Select "Install on ".

8. The versions being managed are displayed.

9. Select the "Install" button for HDF-3.0.1.1.

10. Select "OK" to confirm installation.

11. Allow for some install processing:

12. Then select "Upgrade":

Upgrade to HDF 3.0.1.1
13. You will be presented with two options: Rolling Upgrade and Express Upgrade. Rolling Upgrade is not selectable.

14. Express Upgrade may have some Checks to resolve. In my environment, there were 2 Required and 1 Warning:

15. Follow the instructions to resolve the required checks. The "Proceed" button can now be selected:

16. When prompted to confirm, select "Yes" to proceed with the upgrade:

17. The upgrade process begins:

18. The upgrade pauses to confirm whether you are ready to finalize the upgrade. When ready, select "Finalize".

19. The upgrade completes.



