Apache Ambari Major Upgrade
Also available as:
PDF

Upgrading Ambari Metrics

Steps

  1. Confirm that Ambari Metrics service is stopped and in Maintenance Mode.

    1. If Ambari Metrics service is not stopped, from Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.

  2. 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
  3. 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

  4. 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

[Important]Important

DO NOT START the Ambari Metrics System service. It will be started automatically during the HDP upgrade process.

Next Steps

Upgrading SmartSense