Upgrading Ambari Metrics

You must stop Ambari Metrics and then run commands to upgrade Metrics Monitor, Metrics Collector, and Grafana on the cluster nodes where the relevant components are running.

  1. Confirm that the Ambari Metrics service is stopped and in Maintenance Mode. 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 that is running a Metrics Monitor, run the following commands:
    For RHEL/CentOS:
    • yum clean all
    • yum upgrade ambari-metrics-monitor ambari-metrics-hadoop-sink
    For Ubuntu 18:
    • 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:
    • yum upgrade ambari-metrics-collector
    For Ubuntu 18:
    • 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: yum upgrade ambari-metrics-grafana
    For Ubuntu 18:
    • apt-get clean all
    • apt-get update
    • apt-get install ambari-metrics-grafana