Upgrading Ambari Metrics
- Make sure Ambari Metrics service is stopped. From Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.
-
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 yum upgrade ambari-metrics-hadoop-sink
For SLES:zypper clean zypper up ambari-metrics-monitor zypper up ambari-metrics-hadoop-sink
For Ubuntu:apt-get clean all apt-get update apt-get install ambari-metrics-assembly
-
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:apt-get clean all apt-get update apt-get install ambari-metrics-collector
-
Execute the following command on all hosts running the Grafana
component:
For RHEL/CentOS/Oracle Linux:
yum upgrade ambari-metrics-grafana
For SLES:zypper up ambari-metrics-grafana
For Ubuntu:apt-get clean all apt-get update apt-get install ambari-metrics-grafana
-
Start Ambari Metrics Service.
From Ambari Web, browse to Services > Ambari Metrics select Service Actions then choose Start.