THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Steps to migrate existing metric data to HDFS and starting AMS in distributed mode:
- Stop AMS Metric Collector
Create hdfs directory for ams user, Example:
su - hdfs -c 'hdfs dfs -mkdir /user/ams'
su - hdfs -c 'hdfs dfs -chown ams:hadoop /user/ams'
Copy the metric data from the AMS local directory (existing value of hbase.rootdir in ams-hbase-site) to HDFS directory. Example:
cd /var/lib/ambari-metrics-collector/
hdfs dfs -copyFromLocal hbase hdfs://<namnode-http-address>:8020/user/ams/
Restart Start the Metric Collector after making the changes needed for distributed mode.
...