Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade the HDF Management Pack

A management pack bundles service definitions, stack definitions, and stack add-on service definitions so they do not need to be included with the Ambari core functionality and can be updated in between major releases. Upgrade the management pack to ensure that you have the latest versions of the available components.

Get the HDF Management Pack location and build number from the HDF Release Notes.

  1. Back up your Ambari resources folder:
    cp -r /var/lib/ambari-server/resources /var/lib/ambari-server/resources.backup
  2. Upgrade the HDF management pack with the command appropriate for your operating system:

    RHEL/CentOS/Oracle Linux 7:

    ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose
    ambari-server install-mpack \
    --mpack=https://<username>:<password>@archive.cloudera.com/p/HDF/centos7/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
    --verbose

    SUSE Linux Enterprise Server (SLES) v12 SP1

    ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose
    ambari-server install-mpack \
    --mpack=https://<username>:<password>@archive.cloudera.com/p/HDF/sles12/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
    --verbose

    Debian 9:

    ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose
    ambari-server install-mpack \
    --mpack=https://<username>:<password>@archive.cloudera.com/p/HDF/debian9/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
    --verbose

    Ubuntu 16:

    ambari-server uninstall-mpack --mpack-name=hdf-ambari-mpack --verbose
    ambari-server install-mpack \
    --mpack=https://<username>:<password>@archive.cloudera.com/p/HDF/ubuntu16/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
    --verbose