Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Comparing CM config

Comparing CM config

New Contributor



I'm currently using the cm deploy api call to pull down the configurations from two different clusters ( two seperate cloudera managers). I tried to use json diff to to compare the two configurations but no luck. Does anyone have a better method to look at the differences from that api call?





Re: Comparing CM config

Expert Contributor



You can try some API like this but I don't think it's very efficient. There is no such feature availabe as of now.


diff -u <(curl http://cmhostname:7180/api/v6/cm/deployment -uadmin:admin) <(curl http://cmhostname:7180/api/v6/cm/deployment -uadmin:admin)

Re: Comparing CM config

Expert Contributor
If that resolves your issue, please spare some time in accepting the solution. Thanks.
Don't have an account?
Coming from Hortonworks? Activate your account here