ambari-metrics恢复出厂设置

2019-08-15  本文已影响0人  yinkp001

目的:ambari-metrics是一个很容易出问题挂掉的组件,如果无法重启的情况下。我们可以舍弃之前集群的监控数据,然后进行格式化恢复。

注:操作后历史监控数据不可恢复

This is usually due to AMS Data being corrupt.

1.Shut down Ambari Monitors, and Collector via Ambari

2.Cleared out the /var/lib/ambari-metrics-collector dir for fresh restart

3.From Ambari -> Ambari Metrics -> Config -> Advanced ams-hbase-site get the hbase.rootdir and hbase-tmp directory

4.Delete or Move the hbase-tmp and hbase.rootdir directories to an archive folder

5.Started AMS.

6.All services will came online and graphs started to display, after a few minutes

上一篇 下一篇

猜你喜欢

热点阅读