Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade the Management Pack for HDF Services on an HDP Cluster

  1. Stop NiFi, NiFi Registry, Schema Registry and SAM.
  2. Stop the Ambari Server and Ambari Agents.
    ambari-server stop
    ambari-agent stop
  3. Backup the Ambari Server files and database.
    cp -r /var/lib/ambari-server/resources /var/lib/ambari-server/resources.backup
  4. Download the HDF Management Pack for the version to which you want to upgrade. You can find the Management Pack download locations in the HDF Release Notes.
  5. Uninstall the existing Management Pack and install the new one.
    ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose
    ambari-server install-mpack --mpack=hdf-ambari-mpack-<version>-<build-number>.tar.gz --verbose
  6. Start the Ambari Server and Agents.
    ambari-server start
    ambari-agent start
  7. In the Ambari Console go to Manage Versions -> Admin -> Versions -> HDP-3.1.0.0 -> HDF-3.4, and update the HDF repository URL according to the HDF repository information found in the HDF Release Notes for the HDF version to which you want to upgrade.
  8. On each Ambari Agent, update the base URL in the yum repo file by changing the base URL under [HDF-3.4-repo-1] to the public URL found in the HDF Release Notes.
    vi /etc/yum.repos.d/ambari-hdp-1.repo