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. For more information, see 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 restart ambari-agent start
- In the Ambari Console go to Manage Versions -> Admin -> Versions -> HDP-188.8.131.52 -> HDF-3.5, 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.5-repo-1]to the public URL found in the HDF Release Notes.