Ambari Managed HDF Upgrade
Also available as:
PDF

Chapter 3. Upgrading the 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.

Context

If you are upgrading to the latest version of Ambari, follow steps in the Upgrading Ambari chapter of this guide. If you are already running the latest version of Ambari, use the following steps to upgrade your management pack.

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 managemet 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/3.0.2.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.0.2.0-76.tar.gz \ 
      --verbose
    • RHEL/CentOS/Oracle Linux 7:

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

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

      ambari-server upgrade-mpack \
      --mpack=http://public-repo-1.hortonworks.com/HDF/ubuntu14/3.x/updates/3.0.2.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.0.2.0-76.tar.gz \ 
      --verbose
  3. Restart Ambari.

More Information