Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5. If the AMS is in embedded mode, copy the AMS data from old node to new node.

  • For

...

  • embedded mode (ams-site: timeline.metrics.service.operation.mode), copy over the hbase.rootdir and tmpdir to new host from the old collector host.
  • For distributed mode, since AMS HBase is writing to HDFS, no change will be necessary. 
  • Ensure that ams:hbase-site:hbase.rootdir and hbase.tmp.dir are pointing to the correct location in the new AMS node

6. Start the Metrics Service.

7. The service daemons will be pointing to the old metrics collector host. Perform a rolling restart of slave components and a normal restart of Master components for them to pick up the new collector host. 

Note : Restart of services is not needed post Ambari-2.5.0 since live collector information is maintained in the cluster zookeeper. 

Image Added