Prepare to create Hive ACID table replication policies

Before you create a Hive ACID table replication policy, you must prepare the clusters for replication.

You must complete the following steps before you create Hive ACID table replication policies:
  1. Set up a two-way trust between the CDP Private Cloud Base clusters. For more information, see Configure two-way trust between clusters
  2. Configure a peer relationship only if the source cluster is managed by a different Cloudera Manager server than the target cluster. For more information, see Configuring a peer relationship.
  3. Configure the hive.repl.cm.enabled=true key-value pair on the source cluster to turn on the ChangeManager for the following services:
    Service Action
    Hive-on-Tez On the Configuration tab, search for Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml property and set the key-value pair
    Hive-1 On the Configuration tab, search for Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml property and set the key-value pair.
    Hive-1 On the Configuration tab, search for Enable ChangeManager for Hive replication parameter and select it.
  4. Configure Hive configuration parameters for Hive ACID tables. For more information, see Mandatory Hive configuration parameters for Hive ACID table replication policies.
    Optionally, to optimize the replication policy performance, you can configure the parameters in Recommended Hive configuration parameters for Hive ACID table replication policies and Parameters to optimize Hive ACID table replication performance as necessary.
  5. Enable the Hive ACID table replication feature flag CMF_FF_DR_HIVE_ON_TEZ_REPLICATION on the source and target cluster. For more information, see Enabling Hive ACID table replication feature flag.