Upgrade the Management Pack for HDF Services on an HDP Cluster
- Stop NiFi, NiFi Registry, Schema Registry and SAM.
Stop the Ambari Server and Ambari Agents.
ambari-server stop ambari-agent stop
Backup the Ambari Server files and database.
cp -r /var/lib/ambari-server/resources /var/lib/ambari-server/resources.backup
- 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.
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
Start the Ambari Server and Agents.
ambari-server start ambari-agent start
- In the Ambari Console go to Manage Versions -> Admin -> Versions -> HDP-22.214.171.124 -> 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.
On each Ambari Agent, update the base URL in the
yum repofile by changing the base URL under
[HDF-3.4-repo-1]to the public URL found in the HDF Release Notes.