Created 12-12-2016 08:51 PM
Hi,
Is there a way to bulk dump ranger policies using rest api?
The used case here is from PROD to DR one time copy.
I understand the process of copying it one by one using rest.
Thanks,
Raj
Created 12-13-2016 05:53 PM
https://issues.apache.org/jira/browse/RANGER-1214 is planned for next release.
Created 12-12-2016 09:02 PM
This is a prior discussion on this topic, I am interested in any new approaches , in case this thread leads to one.
https://community.hortonworks.com/questions/37036/how-to-replicate-policies-across-cluster.html
Created 12-12-2016 09:12 PM
@Prashobh Balasundaram this thread is really interesting discussion and it works. I am looking for bulk dump not one by one.
Created 12-12-2016 09:03 PM
Created 12-12-2016 09:13 PM
@Prashobh Balasundaram this thread is really interesting discussion and it works. I am looking for bulk dump not one by one.
Created 12-13-2016 05:53 PM
https://issues.apache.org/jira/browse/RANGER-1214 is planned for next release.
Created 12-14-2016 10:53 PM
Thank you. I am going to accept this answer, since really there is no inbuilt way to bulk load it.
I had to do some custom scripting to call the rest api to get the policies, change repository and post it back.
Not complicated but not the cleanest way either since you have to hop from one cluster to the other:)
Created 12-14-2016 09:15 PM
which version of Ranger / HDP you are using, it may be that in your version that API is not there and later release has it