Support Questions

Find answers, ask questions, and share your expertise

BDR Automation(Hive Replication)

avatar
New Contributor

Can someone help with documentation for Hive BDR Automation, similar one to the HDFS BDR Documentations below, we are looking for a documentation for Hive BDR automation (CDH 5.16.1)

 

https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_bdr_howto_api.html

 

Thanks

 

 

2 REPLIES 2

avatar
Community Manager

Welcome to the community @nymikek. Maybe @Shawn_Wang @vdy or @soychago can be of assistance.


Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Master Collaborator

Hello @nymikek  Thank you for using our Community!


we are looking for a documentation for Hive BDR automation (CDH 5.16.1)
https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_bdr_howto_api.html

 I understand that you would like to use API to automate BDR schedule(Hive).
You can use the fore-mentioned HDFS replication doc as a reference to create a Hive replication.

However, I am pointing out the specific Hive Replication API endpoint/Arguments for this use-case.

STEP 1: Creating a Peer

https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_bdr_howto_api.html#bdr_api_1

STEP 2: 

Make use of the ApiReplicationSchedule DataModel that has the Arguments needed for building-blocks of a Replication Schedule.

https://archive.cloudera.com/cm6/6.3.4/generic/jar/cm_api/apidocs/json_ApiReplicationSchedule.html

STEP 3:

Since the end-goal here is to automate Hive replication.

http://cloudera.github.io/cm_api/apidocs/v19/ns0_apiHiveReplicationArguments.html

I hope this helps!

- V