The following section describes how to switch the Ambari Metrics Collector from embedded mode to distributed mode.
In Ambari Web, browse to Ambari Metrics > Configs, make the following changes, then restart the Collector.
Section | Property | Value |
---|---|---|
General | Metrics Service operation mode (timeline.metrics.service.operation.mode) | distributed |
Advanced ams-hbase-site | hbase.cluster.distributed | true |
Advanced ams-hbase-site | hbase.rootdir * | hdfs ://c6403.ambari.apache.org:8020/ amsmetrics |
* If using NameNode HA, set the hbase.rootdir value to
hdfs://hdfsnameservice/amsmetrics