Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade Ambari Metrics

If you have Ambari Metrics installed, you have some manual steps to perform as part of the upgrade. Upgrading Ambari Metrics involves ensuring that it is in Maintenance Mode, upgrading the Metrics Collector, and upgrading the Ambari Metrics Grafana component.

  1. On every host in your cluster running a Metrics Monitor, run the following commands:

    For RHEL/CentOS/Oracle Linux:

    yum clean all
    yum upgrade ambari-metrics-monitor ambari-metrics-hadoop-sink

    For SLES:

    zypper clean
    zypper up ambari-metrics-monitor ambari-metrics-hadoop-sink

    For Ubuntu/Debian:

    apt-get clean all
    apt-get update
    apt-get install ambari-metrics-assembly
  2. Execute the following command on all hosts running the Metrics Collector:

    For RHEL/CentOS/Oracle Linux:

    yum upgrade ambari-metrics-collector

    For SLES:

    zypper up ambari-metrics-collector

    For Ubuntu/Debian:

    apt-get clean all
    apt-get update
    apt-get install ambari-metrics-collector
  3. Execute the following command on the host running the Grafana component:

    For RHEL/CentOS/Oracle Linux:

    yum upgrade ambari-metrics-grafana

    For SLES:

    zypper up ambari-metrics-grafana

    For Ubuntu/Debian:

    apt-get clean all
    apt-get update
    apt-get install ambari-metrics-grafana
    Note
    Note
    DO NOT START the Ambari Metrics System service. It will be started automatically during the HDP upgrade process.