Created on 05-15-2022 09:17 PM - edited 05-16-2022 12:20 AM
Files comes with AM2CM script, configs files, and lib directories.
am2cm-2.0.4.0-4 % ls -1
am2cm-2.0.0.2.0.4.0-4.jar
am2cm.sh
ambari7_blueprint.json
cm_migration.log
conf
configs_summary.log
kerberos_summary.json
lib
restore_collections.py
AM2CM script uses blueprint from Ambari cluster as input, and based on user input HDP version, makes a decision regarding the config mapping file need to be used. This mapping files consists of mapping rule from Ambari world to CM world.
Config files, such as user-settings.ini and service-config.ini, will be used as a part of mapping logic to generate CM deployment json.
Command to execute
am2cm-2.0.4.0-4 % sh am2cm.sh -bp conf/blueprint.json -dt cm_deployment.json
INPUT Ambari Blueprint : conf/blueprint.json
OUTPUT CM Template : cm_deployment.json
Starting blueprint to CM Template migration
What is source version 1.HDP2 2.HDP3/HDF352 (1 or 2)? 1
Total number of hosts in blueprint: 6
Your cluster has services (listed below) that are not handled by this migration tool.
AMBARI_METRICS
The tool will skip the above identified service related configs.
Do you want to proceed with migration (Y OR N)? (N):y
Processing: POWERSCALE
Processing: LIVY
Processing: SOLR
Processing: TEZ
Processing: HDFS
Processing: OOZIE
Processing: SQOOP_CLIENT
Processing: NIFIREGISTRY
Processing: ZOOKEEPER
Processing: HBASE
Processing: YARN
Processing: RANGER_KMS
Processing: KNOX
Processing: ATLAS
Processing: HIVE_ON_TEZ
Processing: RANGER
Processing: HIVE
Processing: KAFKA
Processing: NIFI
Processing: SPARK_ON_YARN
Adding: QUEUEMANAGER
CM Template is generated at : am2cm-2.0.4.0-4/cm_deployment.json
Kerberos summary file is generated at : am2cm-2.0.4.0-4/kerberos_summary.json
Successfully completed
The output of the command are:
Above-mentioned limitation can be handled separately either after deploying template or configuring AM2CM configs to ingest new configs.
Full Disclosure & Disclaimer:
I am an Employee of Cloudera, but this is not part of the formal documentation of the Cloudera Data platform. It is purely based on my own experience of advising people in their choice of tooling and customisations.