To restore the backed-up Ambari-Metrics data, downgrade the ambari-metrics packages on all hosts and restore the backed-up-ambari-metrics data.
Downgrade ambari-metrics packages on all hosts where they are installed. On
every host in your cluster running a Metrics Monitor, run the following
yum downgrade ambari-metrics-monitor ambari-metrics-hadoop-sinkExecute the following command on all hosts running the Metrics Collector:
yum downgrade ambari-metrics-collectorExecute the following command on the host running the Grafana component:
yum downgrade ambari-metrics-grafana
Restore backed-up ambari-metrics data on the host where the
ambari-metrics-collector is installed
rm -rf /var/lib/ambari-metrics-collector tar xf ams-backup.tar.gz -C /
- Start Ambari-Metics in Ambari UI.