Member since
05-02-2018
1
Post
0
Kudos Received
0
Solutions
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
... View more