THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Edit ams-site, Set timeline.metrics.service.operation.mode = distributed
- Edit ams-hbase-site,
- Set hbase.rootdir = hdfs://<namenode-host>:8020/user/ams/hbase [ If NN HA is enabled, hdfs://<nameservice-id>/user/ams/hbase ]
(Note: /user/ams/hbase here is the directory where metric data will be stored in HDFS) - Set hbase.cluster.distributed = true
- Add dfs.client.read.shortcircuit = true (This is an optimization with a local DN present)
- Set hbase.rootdir = hdfs://<namenode-host>:8020/user/ams/hbase [ If NN HA is enabled, hdfs://<nameservice-id>/user/ams/hbase ]
- In Ambari versions > 2.2.0 make sure hbase.zookeeper.property.clientPort=2181 (cluster Zookeeper port).
- Restart Metrics Collector
...