Reply
New Contributor
Posts: 1
Registered: ‎05-31-2019

Comparing CM config

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

Highlighted
Cloudera Employee
Posts: 74
Registered: ‎10-01-2018

Re: Comparing CM config

@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)

Announcements