Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade the HDF Management Pack

About This Task

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 Apache components.

Before You Begin

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

Steps

  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 6:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/centos6/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose
    • RHEL/CentOS/Oracle Linux 7:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose
    • SLES 11:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/suse11sp3/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 upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/sles12/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose
    • Debian 7:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/debian7/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose
    • Ubuntu 14:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/ubuntu14/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose
    • Ubuntu 16:

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/ubuntu16/3.x/updates/<version>/tars/hdf_ambari_mp/hdf-ambari-mpack-<version>-<build-number>.tar.gz \ 
      --verbose