Created 05-12-2023 11:53 AM
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
Created 05-12-2023 12:54 PM
Welcome to the community @nymikek. Maybe @Shawn_Wang @vdy or @soychago can be of assistance.
Created 09-14-2023 12:59 AM
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