Support Questions
Find answers, ask questions, and share your expertise
Announcements
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

Hello,

 

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?

 

Thanks,

Nishant

1 REPLY 1
Highlighted

Re: Comparing CM config

Cloudera Employee

@nishant65563 

 

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)