Created 04-26-2016 09:07 AM
Hi,
Just wondering what is the best way to compare configurations for two clusters? Is there any feature available on Ambari UI to do the same? At present I think Ambari cannot support managing multiple clusters. So not sure if this would be possible at all.
Is exporting the cluster configurations as blueprints and then comparing them manually, the only option available? Or are there any better ways to do the same?
Thanks in advance.
Created 04-26-2016 09:18 AM
Hi, if you just want to compare HDP components configurations you can use a simple shell script to export all configurations on each cluster and vimdiff the 2 files.
I made a very simple script to achieve that, feel free to use/update
https://github.com/laurentedel/hadoop-scripts/blob/master/backup_configs.sh
Created 09-20-2016 10:27 PM
The below script helps to compare the configs.
Created 09-21-2016 07:52 PM
This is a pretty useful tool. You can compare the entire Ambari blueprints and it generates a tab delimited report of the the differences and similarities between two or more clusters.
Created 01-27-2017 04:50 PM
If you are still seeking a solution you could use Orcaconfig to compare dumped XMLs. https://www.orcaconfig.com/compare-configurations/. It's designed to automatically compare configurations in complex environments. Hope this helps you. (yep I work there)