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/amshbase [ If NN HA is enabled, hdfs://<nameservice-id>/amshbase ]
(Note: amshbase 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/amshbase [ If NN HA is enabled, hdfs://<nameservice-id>/amshbase ]
- Restart Metrics Collector
Note: In Ambari 2.0.x, there is a bug in deploying AMS in distributed mode, if Namenode HA is enabled. Please follow the instruction listed in this JIRA as workaround steps: (AMBARI-10707)
...